Uses of Interface
org.apache.commons.io.filefilter.IOFileFilter

Packages that use IOFileFilter
org.apache.commons.io This package defines utility classes for working with streams, readers, writers and files. 
org.apache.commons.io.filefilter This package defines an interface (IOFileFilter) that combines both FileFilter and FilenameFilter
 

Uses of IOFileFilter in org.apache.commons.io
 

Methods in org.apache.commons.io with parameters of type IOFileFilter
static Collection FileUtils.listFiles(File directory, IOFileFilter fileFilter, IOFileFilter dirFilter)
          Finds files within a given directory (and optionally its subdirectories).
 

Uses of IOFileFilter in org.apache.commons.io.filefilter
 

Classes in org.apache.commons.io.filefilter that implement IOFileFilter
 class AbstractFileFilter
          An abstract class which implements the Java FileFilter and FilenameFilter interfaces via the IOFileFilter interface.
 class AndFileFilter
          A FileFilter providing conditional AND logic across a list of file filters.
 class DelegateFileFilter
          This class turns a Java FileFilter or FilenameFilter into an IO FileFilter.
 class DirectoryFileFilter
          This filter accepts Files that are directories.
 class FalseFileFilter
          A file filter that always returns false.
 class NameFileFilter
          Filters filenames for a certain name.
 class NotFileFilter
          This filter produces a logical NOT of the filters specified.
 class OrFileFilter
          A FileFilter providing conditional OR logic across a list of file filters.
 class PrefixFileFilter
          Filters filenames for a certain prefix.
 class SuffixFileFilter
          Filters files based on the suffix (what the filename ends with).
 class TrueFileFilter
          A file filter that always returns true.
 class WildcardFilter
          Filters files using supplied wildcard(s).
 

Fields in org.apache.commons.io.filefilter declared as IOFileFilter
static IOFileFilter TrueFileFilter.INSTANCE
          Singleton instance of true filter
static IOFileFilter FalseFileFilter.INSTANCE
          Singleton instance of false filter
static IOFileFilter DirectoryFileFilter.INSTANCE
          Singleton instance of directory filter
 

Methods in org.apache.commons.io.filefilter that return IOFileFilter
static IOFileFilter FileFilterUtils.andFileFilter(IOFileFilter filter1, IOFileFilter filter2)
          Returns a filter that ANDs the two specified filters.
static IOFileFilter FileFilterUtils.asFileFilter(FileFilter filter)
          Returns an IOFileFilter that wraps the FileFilter instance.
static IOFileFilter FileFilterUtils.asFileFilter(FilenameFilter filter)
          Returns an IOFileFilter that wraps the FilenameFilter instance.
static IOFileFilter FileFilterUtils.directoryFileFilter()
          Returns a filter that checks if the file is a directory.
static IOFileFilter FileFilterUtils.falseFileFilter()
          Returns a filter that always returns false.
static IOFileFilter FileFilterUtils.makeCVSAware(IOFileFilter filter)
          Returns an IOFileFilter that ignores CVS directories.
static IOFileFilter FileFilterUtils.makeSVNAware(IOFileFilter filter)
          Returns an IOFileFilter that ignores SVN directories.
static IOFileFilter FileFilterUtils.nameFileFilter(String name)
          Returns a filter that returns true if the filename matches the specified text.
static IOFileFilter FileFilterUtils.notFileFilter(IOFileFilter filter)
          Returns a filter that NOTs the specified filter.
static IOFileFilter FileFilterUtils.orFileFilter(IOFileFilter filter1, IOFileFilter filter2)
          Returns a filter that ORs the two specified filters.
static IOFileFilter FileFilterUtils.prefixFileFilter(String prefix)
          Returns a filter that returns true if the filename starts with the specified text.
static IOFileFilter FileFilterUtils.suffixFileFilter(String suffix)
          Returns a filter that returns true if the filename ends with the specified text.
static IOFileFilter FileFilterUtils.trueFileFilter()
          Returns a filter that always returns true.
 

Methods in org.apache.commons.io.filefilter with parameters of type IOFileFilter
 void OrFileFilter.addFileFilter(IOFileFilter ioFileFilter)
          Adds the specified file filter to the list of file filters at the end of the list.
 void ConditionalFileFilter.addFileFilter(IOFileFilter ioFileFilter)
          Adds the specified file filter to the list of file filters at the end of the list.
 void AndFileFilter.addFileFilter(IOFileFilter ioFileFilter)
          Adds the specified file filter to the list of file filters at the end of the list.
static IOFileFilter FileFilterUtils.andFileFilter(IOFileFilter filter1, IOFileFilter filter2)
          Returns a filter that ANDs the two specified filters.
static IOFileFilter FileFilterUtils.makeCVSAware(IOFileFilter filter)
          Returns an IOFileFilter that ignores CVS directories.
static IOFileFilter FileFilterUtils.makeSVNAware(IOFileFilter filter)
          Returns an IOFileFilter that ignores SVN directories.
static IOFileFilter FileFilterUtils.notFileFilter(IOFileFilter filter)
          Returns a filter that NOTs the specified filter.
static IOFileFilter FileFilterUtils.orFileFilter(IOFileFilter filter1, IOFileFilter filter2)
          Returns a filter that ORs the two specified filters.
 boolean OrFileFilter.removeFileFilter(IOFileFilter ioFileFilter)
          Removes the specified file filter.
 boolean ConditionalFileFilter.removeFileFilter(IOFileFilter ioFileFilter)
          Removes the specified file filter.
 boolean AndFileFilter.removeFileFilter(IOFileFilter ioFileFilter)
          Removes the specified file filter.
 

Constructors in org.apache.commons.io.filefilter with parameters of type IOFileFilter
AndFileFilter(IOFileFilter filter1, IOFileFilter filter2)
          Constructs a new file filter that ANDs the result of two other filters.
NotFileFilter(IOFileFilter filter)
          Constructs a new file filter that NOTs the result of another filters.
OrFileFilter(IOFileFilter filter1, IOFileFilter filter2)
          Constructs a new file filter that ORs the result of two other filters.
 



Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.