Package | Description |
---|---|
org.anchoranalysis.image.io.stack.input |
Non-bean classes for reading a
Stack from the
filesystem. |
org.anchoranalysis.io.input |
Classes relating to creating inputs for an experiment / task.
|
org.anchoranalysis.io.input.bean.namer |
Beans to derive names (compact unique identifiers) from files.
|
org.anchoranalysis.io.input.file |
Non-bean classes that relate to using files during inputting.
|
org.anchoranalysis.plugin.io.bean.file.namer |
Implementations of
FileNamer . |
org.anchoranalysis.plugin.io.bean.file.namer.patternspan |
Implementations of
FileNamer that look for a
pattern across many files. |
org.anchoranalysis.plugin.io.bean.input.files |
InputManager s that accept a set of named-files. |
Constructor and Description |
---|
ImageMetadataInput(NamedFile file,
CheckedSupplier<ImageMetadata,ImageIOException> metadata)
Create for a particular file and metadata.
|
Modifier and Type | Method and Description |
---|---|
default NamedFile |
InputFromManager.asFile()
Expresses the input as a file with a name (the unique identifier).
|
Modifier and Type | Method and Description |
---|---|
Collection<NamedFile> |
InputsWithDirectory.findAllNonInputFiles()
Find all files in the input directory are not used as inputs.
|
Modifier and Type | Method and Description |
---|---|
NamedFile |
FileNamer.deriveName(File file,
FileNamerContext context)
A name for a file.
|
Modifier and Type | Method and Description |
---|---|
abstract List<NamedFile> |
FileNamer.deriveName(List<File> files,
FileNamerContext context)
Derives a list of names (associated with each file) for some files.
|
List<NamedFile> |
FileNamerIndependent.deriveName(List<File> files,
FileNamerContext context) |
List<NamedFile> |
FileNamer.deriveNameUnique(List<File> files,
FileNamerContext context)
Like
FileNamer.deriveName(List, FileNamerContext) but checks that the final list of
named-files all have unique names. |
Modifier and Type | Method and Description |
---|---|
NamedFile |
NamedFile.mapIdentifier(java.util.function.BiFunction<String,File,String> function)
Immutably renames the file, by assigning it a new identifier.
|
Constructor and Description |
---|
FileInput(NamedFile file)
Creates for a single file.
|
FileWithDirectoryInput(NamedFile file,
Path directory)
Create for a particular file and directory.
|
SingleFileInputBase(NamedFile file)
Creates for a particular file.
|
Modifier and Type | Method and Description |
---|---|
List<NamedFile> |
RemoveExtension.deriveName(List<File> files,
FileNamerContext context) |
List<NamedFile> |
IfRelativeToDirectory.deriveName(List<File> files,
FileNamerContext context) |
List<NamedFile> |
SubsetRangeIfRequested.deriveName(List<File> files,
FileNamerContext context) |
Modifier and Type | Method and Description |
---|---|
List<NamedFile> |
PatternSpan.deriveName(List<File> files,
FileNamerContext context) |
Modifier and Type | Method and Description |
---|---|
protected InputsWithDirectory<T> |
NamedFilesBase.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. |
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.