Class DirectoryDepth

Object
org.anchoranalysis.bean.AnchorBean<org.anchoranalysis.io.input.bean.files.FilesProvider>
org.anchoranalysis.io.input.bean.files.FilesProvider
org.anchoranalysis.io.input.bean.files.FilesProviderWithDirectory
org.anchoranalysis.io.input.bean.files.FilesProviderWithDirectoryString
org.anchoranalysis.plugin.io.bean.input.files.provider.DirectoryDepth

public class DirectoryDepth
extends org.anchoranalysis.io.input.bean.files.FilesProviderWithDirectoryString
Lists all directories to a certain depth
  • Constructor Summary

    Constructors 
    Constructor Description
    DirectoryDepth()  
  • Method Summary

    Modifier and Type Method Description
    int getExactDepth()  
    List<File> matchingFilesForDirectory​(Path directory, org.anchoranalysis.io.input.bean.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

  • Method Details

    • matchingFilesForDirectory

      public List<File> matchingFilesForDirectory​(Path directory, org.anchoranalysis.io.input.bean.InputManagerParameters parameters) throws org.anchoranalysis.io.input.file.FilesProviderException
      Specified by:
      matchingFilesForDirectory in class org.anchoranalysis.io.input.bean.files.FilesProviderWithDirectory
      Throws:
      org.anchoranalysis.io.input.file.FilesProviderException
    • getExactDepth

      public int getExactDepth()
    • setExactDepth

      public void setExactDepth​(int exactDepth)