|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<E>
java.util.LinkedHashSet<java.io.FileFilter>
uk.org.retep.util.io.FileFilterSet
public class FileFilterSet
A Set of FileFilter's that can be passed as a single FileFilter. The Set is backed by a LinkedHashSet, so when testing, the filters are run in the order they are added to the Set.
| Constructor Summary | |
|---|---|
FileFilterSet()
|
|
FileFilterSet(java.util.Collection<? extends java.io.FileFilter> col)
|
|
FileFilterSet(java.io.FileFilter... filters)
|
|
| Method Summary | |
|---|---|
boolean |
accept(java.io.File file)
|
void |
addAll(java.io.FileFilter... filters)
|
| Methods inherited from class java.util.HashSet |
|---|
add, clear, clone, contains, isEmpty, iterator, remove, size |
| Methods inherited from class java.util.AbstractSet |
|---|
equals, hashCode, removeAll |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, containsAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Set |
|---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Constructor Detail |
|---|
public FileFilterSet()
public FileFilterSet(java.util.Collection<? extends java.io.FileFilter> col)
public FileFilterSet(java.io.FileFilter... filters)
| Method Detail |
|---|
public void addAll(java.io.FileFilter... filters)
public boolean accept(java.io.File file)
accept in interface java.io.FileFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||