T
- input-typepublic abstract class NamedFilesBase<T extends InputFromManager> extends InputManager<T>
InputManager
that produces inputs that are created from a NamedFile
.Constructor and Description |
---|
NamedFilesBase() |
NamedFilesBase(FileNamer namer) |
Modifier and Type | Method and Description |
---|---|
protected InputsWithDirectory<T> |
createInputsFromFiles(FilesProvider files,
InputManagerParameters parameters,
java.util.function.Function<NamedFile,T> mapToInput)
Creates a list of inputs from a
FilesProvider which together with the namer
can create the inputs. |
FileNamer |
getNamer() |
void |
setNamer(FileNamer namer) |
inputs
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public NamedFilesBase()
public NamedFilesBase(FileNamer namer)
protected InputsWithDirectory<T> createInputsFromFiles(FilesProvider files, InputManagerParameters parameters, java.util.function.Function<NamedFile,T> mapToInput) throws InputReadFailedException
FilesProvider
which together with the namer
can create the inputs.files
- the files-providerparameters
- parameters for the input-managermapToInput
- a function that maps a created NamedFile
to the eventual
input-type.InputReadFailedException
public FileNamer getNamer()
public void setNamer(FileNamer namer)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.