public class DirectoryDepth extends FilesProviderWithDirectoryString
Constructor and Description |
---|
DirectoryDepth() |
Modifier and Type | Method and Description |
---|---|
int |
getExactDepth() |
List<File> |
matchingFilesForDirectory(Path directory,
InputManagerParameters parameters)
The matching files for this provider that exist in a particular directory.
|
void |
setExactDepth(int exactDepth) |
getDirectory, getDirectoryAsPath, isLocalized, setDirectory, setLocalized
create, getDirectoryAsPathEnsureAbsolute, rootDirectory
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public List<File> matchingFilesForDirectory(Path directory, InputManagerParameters parameters) throws FilesProviderException
FilesProviderWithDirectory
This directory may or may not be searched recursively, depending on implementation.
matchingFilesForDirectory
in class FilesProviderWithDirectory
directory
- the directory.parameters
- parameters passed to an InputManager
to generate input-objects.FilesProviderException
- if the operation is unable to complete successfully.public int getExactDepth()
public void setExactDepth(int exactDepth)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.