Class ExtractIdentifierAndPath<T extends InputFromManager>
Object
AnchorBean<Summarizer<T>>
Summarizer<T>
SummarizerInputFromManager<T,String>
ExtractIdentifierAndPath<T>
- Type Parameters:
T- input-type.
public class ExtractIdentifierAndPath<T extends InputFromManager>
extends SummarizerInputFromManager<T,String>
Extracts the identifier and path from an
InputFromManager to summarize further.
They are combined in the form IDENTIFIER -> PATH.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractFrom(T input) intThe maximum width permitted for an identifier, so that it is printed as one line.booleanWhether aImageMetadataInputis required as an input.voidsetMaxPathWidth(int maxPathWidth) The maximum width permitted for an identifier, so that it is printed as one line.Methods inherited from class org.anchoranalysis.plugin.io.bean.summarizer.input.SummarizerInputFromManager
add, describe, getSummarizer, setSummarizerMethods inherited from class org.anchoranalysis.plugin.io.bean.summarizer.Summarizer
addAllMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
ExtractIdentifierAndPath
public ExtractIdentifierAndPath()
-
-
Method Details
-
extractFrom
- Specified by:
extractFromin classSummarizerInputFromManager<T extends InputFromManager,String>
-
requiresImageMetadata
public boolean requiresImageMetadata()Description copied from class:SummarizerWhether aImageMetadataInputis required as an input.- Specified by:
requiresImageMetadatain classSummarizer<T extends InputFromManager>- Returns:
- true if the summarize requires
ImageMetadataInputas input, or false if any input is acceptable.
-
getMaxPathWidth
public int getMaxPathWidth()The maximum width permitted for an identifier, so that it is printed as one line. Otherwise it is printed as two lines. -
setMaxPathWidth
public void setMaxPathWidth(int maxPathWidth) The maximum width permitted for an identifier, so that it is printed as one line. Otherwise it is printed as two lines.
-