Class FileDepthSelector

java.lang.Object
org.apache.commons.vfs2.FileDepthSelector
All Implemented Interfaces:
FileSelector
Direct Known Subclasses:
FileFilterSelector

public class FileDepthSelector extends Object implements FileSelector
A FileSelector that selects all files in a particular depth range.
  • Constructor Details

    • FileDepthSelector

      Creates a selector with the same minimum and maximum depths of 0.
      Since:
      2.1
    • FileDepthSelector

      public FileDepthSelector(int minMaxDepth)
      Creates a selector with the same minimum and maximum depths.
      Parameters:
      minMaxDepth - minimum and maximum depth
      Since:
      2.1
    • FileDepthSelector

      public FileDepthSelector(int minDepth, int maxDepth)
      Creates a selector with the given minimum and maximum depths.
      Parameters:
      minDepth - minimum depth
      maxDepth - maximum depth
  • Method Details