Package org.apache.commons.vfs2
Class Selectors
java.lang.Object
org.apache.commons.vfs2.Selectors
Several standard file selectors.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FileSelector
AFileSelector
that selects all the descendants of the base folder, but does not select the base folder itself.static final FileSelector
AFileSelector
that selects the base file/folder, plus all its descendants.static final FileSelector
AFileSelector
that selects only the direct children of the base folder.static final FileSelector
AFileSelector
that only files (not folders).static final FileSelector
AFileSelector
that only folders (not files).static final FileSelector
AFileSelector
that selects only the base file/folder.static final FileSelector
AFileSelector
that selects the base file/folder and its direct children. -
Method Summary
-
Field Details
-
SELECT_SELF
AFileSelector
that selects only the base file/folder. -
SELECT_SELF_AND_CHILDREN
AFileSelector
that selects the base file/folder and its direct children. -
SELECT_CHILDREN
AFileSelector
that selects only the direct children of the base folder. -
EXCLUDE_SELF
AFileSelector
that selects all the descendants of the base folder, but does not select the base folder itself. -
SELECT_FILES
AFileSelector
that only files (not folders). -
SELECT_FOLDERS
AFileSelector
that only folders (not files). -
SELECT_ALL
AFileSelector
that selects the base file/folder, plus all its descendants.
-