Interface FileSelectInfo


public interface FileSelectInfo
Gets information about a file, used to select files during the traversal of a hierarchy.

TODO - Rename this interface, as it is used by both FileSelector and FileVisitor.

  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Gets the base folder of the traversal.
    int
    Gets the depth of the file relative to the base folder.
    Gets the file (or folder) to be considered.
  • Method Details Link icon

    • getBaseFolder Link icon

      Gets the base folder of the traversal.
      Returns:
      FileObject representing the base folder.
    • getDepth Link icon

      int getDepth()
      Gets the depth of the file relative to the base folder.
      Returns:
      The depth of the file relative to the base folder.
    • getFile Link icon

      Gets the file (or folder) to be considered.
      Returns:
      The FileObject.