public class SingleFile extends FilesProviderWithDirectory
Constructor and Description |
---|
SingleFile() |
SingleFile(String path)
Creates with a path for the single-file.
|
Modifier and Type | Method and Description |
---|---|
Path |
getDirectoryAsPath(InputContextParameters inputContext)
The associated directory with the list of files.
|
String |
getPath()
The path of the single-file.
|
List<File> |
matchingFilesForDirectory(Path directory,
InputManagerParameters parameters)
The matching files for this provider that exist in a particular directory.
|
create, getDirectoryAsPathEnsureAbsolute, rootDirectory
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public SingleFile(String path)
path
- the path.public SingleFile()
public List<File> matchingFilesForDirectory(Path directory, InputManagerParameters parameters)
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.public Path getDirectoryAsPath(InputContextParameters inputContext)
FilesProviderWithDirectory
getDirectoryAsPath
in class FilesProviderWithDirectory
inputContext
- the input-context.public String getPath()
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.