Package | Description |
---|---|
org.apache.commons.vfs2 |
The public VFS API.
|
org.apache.commons.vfs2.filter |
Implementations of
org.apache.commons.vfs2.FileFilter . |
Constructor and Description |
---|
FileFilterSelector(FileFilter fileFilter) |
Modifier and Type | Class and Description |
---|---|
class |
AgeFileFilter
Filters files based on a cutoff time, can filter either newer files or files
equal to or older.
|
class |
AndFileFilter
A filter providing conditional AND logic across a list of file filters.
|
class |
CanExecuteFileFilter
This filter accepts
File s that can be executed. |
class |
CanReadFileFilter
This filter accepts
File s that can be read. |
class |
CanWriteFileFilter
This filter accepts
File s that can be written to. |
class |
DirectoryFileFilter
This filter accepts
File s that are directories. |
class |
EmptyFileFilter
This filter accepts files or directories that are empty.
|
class |
FalseFileFilter
A file filter that always returns false.
|
class |
FileFileFilter
This filter accepts
File s that are files (not directories). |
class |
HiddenFileFilter
This filter accepts
File s that are hidden. |
class |
NameFileFilter
Filters file names 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 file names for a certain prefix.
|
class |
RegexFileFilter
Filters files using supplied regular expression(s).
|
class |
SizeFileFilter
Filters files based on size, can filter either smaller files or files equal
to or larger than a given threshold.
|
class |
SizeRangeFileFilter
Filter that accepts files whose size is >= minimum size and <= maximum
size.
|
class |
SuffixFileFilter
Filters files based on the suffix (what the file name ends with).
|
class |
SymbolicLinkFileFilter
This filter accepts
File s that are symbolic links. |
class |
TrueFileFilter
A file filter that always returns true.
|
class |
WildcardFileFilter
Filters files using the supplied wildcards.
|
Modifier and Type | Field and Description |
---|---|
static FileFilter |
SymbolicLinkFileFilter.ACTUAL
Singleton instance of visible filter.
|
static FileFilter |
CanExecuteFileFilter.CAN_EXECUTE
Singleton instance of executed filter.
|
static FileFilter |
CanReadFileFilter.CAN_READ
Singleton instance of readable filter.
|
static FileFilter |
CanWriteFileFilter.CAN_WRITE
Singleton instance of writable filter.
|
static FileFilter |
CanExecuteFileFilter.CANNOT_EXECUTE
Singleton instance of not executed filter.
|
static FileFilter |
CanReadFileFilter.CANNOT_READ
Singleton instance of not readable filter.
|
static FileFilter |
CanWriteFileFilter.CANNOT_WRITE
Singleton instance of not writable filter.
|
static FileFilter |
DirectoryFileFilter.DIRECTORY
Singleton instance of directory filter.
|
static FileFilter |
EmptyFileFilter.EMPTY
Singleton instance of empty filter.
|
static FileFilter |
FalseFileFilter.FALSE
Singleton instance of false filter.
|
static FileFilter |
FileFileFilter.FILE
Singleton instance of file filter.
|
static FileFilter |
HiddenFileFilter.HIDDEN
Singleton instance of hidden filter.
|
static FileFilter |
EmptyFileFilter.NOT_EMPTY
Singleton instance of not-empty filter.
|
static FileFilter |
CanReadFileFilter.READ_ONLY
Singleton instance of read-only filter.
|
static FileFilter |
SymbolicLinkFileFilter.SYMBOLIC
Singleton instance of hidden filter.
|
static FileFilter |
TrueFileFilter.TRUE
Singleton instance of true filter.
|
static FileFilter |
HiddenFileFilter.VISIBLE
Singleton instance of visible filter.
|
Modifier and Type | Method and Description |
---|---|
List<FileFilter> |
ConditionalFileFilter.getFileFilters()
Returns this conditional file filter's list of file filters.
|
List<FileFilter> |
AndFileFilter.getFileFilters() |
List<FileFilter> |
OrFileFilter.getFileFilters() |
Modifier and Type | Method and Description |
---|---|
void |
ConditionalFileFilter.addFileFilter(FileFilter fileFilter)
Adds the specified file filter to the list of file filters at the end of the
list.
|
void |
AndFileFilter.addFileFilter(FileFilter fileFilter) |
void |
OrFileFilter.addFileFilter(FileFilter fileFilter) |
boolean |
ConditionalFileFilter.removeFileFilter(FileFilter fileFilter)
Removes the specified file filter.
|
boolean |
AndFileFilter.removeFileFilter(FileFilter fileFilter) |
boolean |
OrFileFilter.removeFileFilter(FileFilter fileFilter) |
Modifier and Type | Method and Description |
---|---|
void |
ConditionalFileFilter.setFileFilters(List<FileFilter> fileFilters)
Sets the list of file filters, replacing any previously configured file
filters on this filter.
|
void |
AndFileFilter.setFileFilters(List<FileFilter> fileFilters) |
void |
OrFileFilter.setFileFilters(List<FileFilter> fileFilters) |
Constructor and Description |
---|
AndFileFilter(FileFilter... filters)
Constructs a new file filter that ANDs the result of other filters.
|
NotFileFilter(FileFilter filter)
Constructs a new file filter that NOTs the result of another filter.
|
OrFileFilter(FileFilter... filters)
Constructs a new file filter that ORs the result of other filters.
|
Constructor and Description |
---|
AndFileFilter(List<FileFilter> fileFilters)
Constructs a new instance of
AndFileFilter with the specified
list of filters. |
OrFileFilter(List<FileFilter> fileFilters)
Constructs a new instance of
OrFileFilter with the specified
filters. |
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.