List of usage examples for org.apache.commons.vfs2 FileFilter interface-usage
From source file org.fuin.vfs2.filter.TrueFileFilter.java
/**
* A file filter that always returns true.
*
* @author This code was originally ported from Apache Commons IO File Filter
* @see "http://commons.apache.org/proper/commons-io/"
*/
From source file org.fuin.vfs2.filter.NotFileFilter.java
/**
* This filter produces a logical NOT of the filters specified.
*
* @author This code was originally ported from Apache Commons IO File Filter
* @see "http://commons.apache.org/proper/commons-io/"
*/
From source file org.fuin.vfs2.filter.HiddenFileFilter.java
/**
* This filter accepts <code>File</code>s that are hidden.
* <p>
* Example, showing how to print out a list of the current directory's
* <i>hidden</i> files:
*
From source file org.fuin.vfs2.filter.FileFileFilter.java
/**
* This filter accepts <code>File</code>s that are files (not directories).
* <p>
* For example, here is how to print out a list of the real files within the
* current directory:
*
From source file org.fuin.vfs2.filter.DirectoryFileFilter.java
/**
* This filter accepts <code>File</code>s that are directories.
* <p>
* For example, here is how to print out a list of the current directory's sub
* directories:
*
From source file org.fuin.vfs2.filter.CanReadFileFilter.java
/**
* This filter accepts <code>File</code>s that can be read.
* <p>
* Example, showing how to print out a list of the current directory's
* <i>readable</i> files:
*
From source file org.fuin.vfs2.filter.RegexFileFilter.java
/**
* Filters files using supplied regular expression(s).
* <p/>
* See java.util.regex.Pattern for regex matching rules
* <p/>
*
From source file org.fuin.vfs2.filter.CanWriteFileFilter.java
/**
* This filter accepts <code>File</code>s that can be written to.
* <p>
* Example, showing how to print out a list of the current directory's
* <i>writable</i> files:
*
From source file org.fuin.vfs2.filter.SuffixFileFilter.java
/**
* Filters files based on the suffix (what the filename ends with). This is used
* in retrieving all the files of a particular type.
* <p>
* For example, to retrieve and print all <code>*.java</code> files in the
* current directory:
From source file org.fuin.vfs2.filter.NameFileFilter.java
/**
* Filters filenames for a certain name.
* <p>
* For example, to print all files and directories in the current directory
* whose name is <code>Test</code>:
*