T
- input-type.public class ExtractIdentifierAndPath<T extends InputFromManager> extends SummarizerInputFromManager<T,String>
InputFromManager
to summarize further.
They are combined in the form IDENTIFIER -> PATH
.
Constructor and Description |
---|
ExtractIdentifierAndPath() |
Modifier and Type | Method and Description |
---|---|
protected Optional<String> |
extractFrom(T input) |
int |
getMaxPathWidth()
The maximum width permitted for an identifier, so that it is printed as one line.
|
boolean |
requiresImageMetadata()
Whether a
ImageMetadataInput is required as an input. |
void |
setMaxPathWidth(int maxPathWidth)
The maximum width permitted for an identifier, so that it is printed as one line.
|
add, describe, getSummarizer, setSummarizer
addAll
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
protected Optional<String> extractFrom(T input)
extractFrom
in class SummarizerInputFromManager<T extends InputFromManager,String>
public boolean requiresImageMetadata()
Summarizer
ImageMetadataInput
is required as an input.requiresImageMetadata
in class Summarizer<T extends InputFromManager>
ImageMetadataInput
as input, or false if any
input is acceptable.public int getMaxPathWidth()
public void setMaxPathWidth(int maxPathWidth)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.