uk.org.retep.util.io
Class LogicFileFilter

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<java.io.FileFilter>
              extended by uk.org.retep.util.io.LogicFileFilter
All Implemented Interfaces:
java.io.FileFilter, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.io.FileFilter>, java.util.Collection<java.io.FileFilter>, java.util.List<java.io.FileFilter>, java.util.RandomAccess
Direct Known Subclasses:
LogicFileFilter.And, LogicFileFilter.Or

public abstract class LogicFileFilter
extends java.util.ArrayList<java.io.FileFilter>
implements java.io.FileFilter

base class for logical file filters

Author:
peter
See Also:
Serialized Form

Nested Class Summary
static class LogicFileFilter.And
          A FileFilter where all of the FileFilters in the collection must match.
static class LogicFileFilter.Not
          For completeness, negates the result of another filter
static class LogicFileFilter.Or
          A FileFilter where one of the FileFilters in the collection must match.
 
Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
protected LogicFileFilter()
           
protected LogicFileFilter(java.util.Collection<? extends java.io.FileFilter> filters)
           
protected LogicFileFilter(java.io.FileFilter... filters)
           
 
Method Summary
 void add(java.io.FileFilter... filters)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.io.FileFilter
accept
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

LogicFileFilter

protected LogicFileFilter()

LogicFileFilter

protected LogicFileFilter(java.io.FileFilter... filters)

LogicFileFilter

protected LogicFileFilter(java.util.Collection<? extends java.io.FileFilter> filters)
Method Detail

add

public void add(java.io.FileFilter... filters)


Copyright © 1998-2010 Retep Development Group. All Rights Reserved.