List of usage examples for org.apache.commons.vfs2 FileFilter interface-usage
From source file org.fuin.vfs2.filter.OrFileFilter.java
/**
* A {@link java.io.FileFilter} providing conditional OR logic across a list of
* file filters. This filter returns {@code true} if any filters in the list
* return {@code true}. Otherwise, it returns {@code false}. Checking of the
* file filter list stops when the first filter returns {@code true}.
*
From source file org.fuin.vfs2.filter.PrefixFileFilter.java
/**
* Filters filenames for a certain prefix.
* <p>
* For example, to print all files and directories in the current directory
* whose name starts with a <code>.</code>:
*
From source file org.fuin.vfs2.filter.AndFileFilter.java
/**
* A filter providing conditional AND logic across a list of file filters. This
* filter returns {@code true} if all filters in the list return {@code true}.
* Otherwise, it returns {@code false}. Checking of the file filter list stops
* when the first filter returns {@code false}.
*
From source file org.fuin.vfs2.filter.EmptyFileFilter.java
/**
* This filter accepts files or directories that are empty.
* <p>
* If the <code>File</code> is a directory it checks that it contains no files.
* <p>
* Example, showing how to print out a list of the current directory's empty
From source file org.fuin.vfs2.filter.SizeFileFilter.java
/**
* Filters files based on size, can filter either smaller files or files equal
* to or larger than a given threshold.
* <p>
* For example, to print all files and directories in the current directory
* whose size is greater than 1 MB:
From source file org.fuin.vfs2.filter.AgeFileFilter.java
/**
* Filters files based on a cutoff time, can filter either newer files or files
* equal to or older.
* <p>
* For example, to print all files and directories in the current directory
* older than one day:
From source file org.fuin.vfs2.filter.WildcardFileFilter.java
/**
* Filters files using the supplied wildcards.
* <p>
* This filter selects files and directories based on one or more wildcards.
* Testing is case-sensitive by default, but this can be configured.
* <p>