Class DirectoryDepth

Object
AnchorBean<FilesProvider>
FilesProvider
FilesProviderWithDirectory
FilesProviderWithDirectoryString
DirectoryDepth

public class DirectoryDepth extends FilesProviderWithDirectoryString
Lists all directories to a certain depth
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    matchingFilesForDirectory(Path directory, InputManagerParameters parameters)
     
    void
    setExactDepth(int exactDepth)
     

    Methods inherited from class org.anchoranalysis.io.input.bean.files.FilesProviderWithDirectoryString

    getDirectory, getDirectoryAsPath, isLocalized, setDirectory, setLocalized

    Methods inherited from class org.anchoranalysis.io.input.bean.files.FilesProviderWithDirectory

    create, getDirectoryAsPathEnsureAbsolute, rootDirectory

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DirectoryDepth

      public DirectoryDepth()
  • Method Details

    • matchingFilesForDirectory

      public List<File> matchingFilesForDirectory(Path directory, InputManagerParameters parameters) throws FilesProviderException
      Specified by:
      matchingFilesForDirectory in class FilesProviderWithDirectory
      Throws:
      FilesProviderException
    • getExactDepth

      public int getExactDepth()
    • setExactDepth

      public void setExactDepth(int exactDepth)