Class Selectors

java.lang.Object
org.apache.commons.vfs2.Selectors

public final class Selectors extends Object
Several standard file selectors.
  • Field Details

    • SELECT_SELF

      public static final FileSelector SELECT_SELF
      A FileSelector that selects only the base file/folder.
    • SELECT_SELF_AND_CHILDREN

      public static final FileSelector SELECT_SELF_AND_CHILDREN
      A FileSelector that selects the base file/folder and its direct children.
    • SELECT_CHILDREN

      public static final FileSelector SELECT_CHILDREN
      A FileSelector that selects only the direct children of the base folder.
    • EXCLUDE_SELF

      public static final FileSelector EXCLUDE_SELF
      A FileSelector that selects all the descendants of the base folder, but does not select the base folder itself.
    • SELECT_FILES

      public static final FileSelector SELECT_FILES
      A FileSelector that only files (not folders).
    • SELECT_FOLDERS

      public static final FileSelector SELECT_FOLDERS
      A FileSelector that only folders (not files).
    • SELECT_ALL

      public static final FileSelector SELECT_ALL
      A FileSelector that selects the base file/folder, plus all its descendants.
  • Constructor Details

    • Selectors

      private Selectors()
      Prevents the class from being instantiated.