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 intgetExactDepth()List<File>matchingFilesForDirectory(Path directory, org.anchoranalysis.io.input.bean.InputManagerParameters parameters)voidsetExactDepth(int exactDepth)Methods inherited from class org.anchoranalysis.io.input.bean.files.FilesProviderWithDirectoryString
getDirectory, getDirectoryAsPath, isLocalized, setDirectory, setLocalizedMethods inherited from class org.anchoranalysis.io.input.bean.files.FilesProviderWithDirectory
create, getDirectoryAsPathEnsureAbsolute, rootDirectory
-
Constructor Details
-
DirectoryDepth
public DirectoryDepth()
-
-
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:
matchingFilesForDirectoryin classorg.anchoranalysis.io.input.bean.files.FilesProviderWithDirectory- Throws:
org.anchoranalysis.io.input.file.FilesProviderException
-
getExactDepth
public int getExactDepth() -
setExactDepth
public void setExactDepth(int exactDepth)
-