Package org.apache.commons.vfs2
Class Selectors
- java.lang.Object
-
- org.apache.commons.vfs2.Selectors
-
public final class Selectors extends java.lang.Object
Several standard file selectors.
-
-
Field Summary
Fields Modifier and Type Field Description static FileSelectorEXCLUDE_SELFAFileSelectorthat selects all the descendants of the base folder, but does not select the base folder itself.static FileSelectorSELECT_ALLAFileSelectorthat selects the base file/folder, plus all its descendants.static FileSelectorSELECT_CHILDRENAFileSelectorthat selects only the direct children of the base folder.static FileSelectorSELECT_FILESAFileSelectorthat only files (not folders).static FileSelectorSELECT_FOLDERSAFileSelectorthat only folders (not files).static FileSelectorSELECT_SELFAFileSelectorthat selects only the base file/folder.static FileSelectorSELECT_SELF_AND_CHILDRENAFileSelectorthat selects the base file/folder and its direct children.
-
-
-
Field Detail
-
SELECT_SELF
public static final FileSelector SELECT_SELF
AFileSelectorthat selects only the base file/folder.
-
SELECT_SELF_AND_CHILDREN
public static final FileSelector SELECT_SELF_AND_CHILDREN
AFileSelectorthat selects the base file/folder and its direct children.
-
SELECT_CHILDREN
public static final FileSelector SELECT_CHILDREN
AFileSelectorthat selects only the direct children of the base folder.
-
EXCLUDE_SELF
public static final FileSelector EXCLUDE_SELF
AFileSelectorthat selects all the descendants of the base folder, but does not select the base folder itself.
-
SELECT_FILES
public static final FileSelector SELECT_FILES
AFileSelectorthat only files (not folders).
-
SELECT_FOLDERS
public static final FileSelector SELECT_FOLDERS
AFileSelectorthat only folders (not files).
-
SELECT_ALL
public static final FileSelector SELECT_ALL
AFileSelectorthat selects the base file/folder, plus all its descendants.
-
-