Class NamedFiles
Implementation of
NamedFilesBase
that is an InputManager
that accepts FileInput
as input and derives a name.- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionNamedFiles
(FilesProvider files) NamedFiles
(FilesProvider files, FileNamer namer) -
Method Summary
Modifier and TypeMethodDescriptiongetFiles()
The files to use as inputs.inputs
(InputManagerParameters parameters) Creates a list of inputs given particular parameters.void
setFiles
(FilesProvider files) The files to use as inputs.Methods inherited from class org.anchoranalysis.plugin.io.bean.input.files.NamedFilesBase
createInputsFromFiles, getNamer, setNamer
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
NamedFiles
-
NamedFiles
-
NamedFiles
public NamedFiles()
-
-
Method Details
-
inputs
public InputsWithDirectory<FileInput> inputs(InputManagerParameters parameters) throws InputReadFailedException Description copied from class:InputManager
Creates a list of inputs given particular parameters.- Specified by:
inputs
in classInputManager<FileInput>
- Parameters:
parameters
- the parameters.- Returns:
- the list of inputs, together with any associated parent directory.
- Throws:
InputReadFailedException
- if inputs cannot be successfully read from the file-system.
-
getFiles
The files to use as inputs. -
setFiles
The files to use as inputs.
-