public class DefaultNewickReaderNodeLabelProcessor extends Object implements NewickReaderNodeLabelProcessor
NewickReaderNodeLabelProcessor
that returns the original name unchanged.Constructor and Description |
---|
DefaultNewickReaderNodeLabelProcessor() |
Modifier and Type | Method and Description |
---|---|
String |
getLinkedOTUID(String processedLabel)
Returns the OTU ID that is associated with the specified label.
|
String |
processLabel(String originalLabel)
Processes a label according to the format modeled by this implementation.
|
public DefaultNewickReaderNodeLabelProcessor()
public String processLabel(String originalLabel)
NewickReaderNodeLabelProcessor
processLabel
in interface NewickReaderNodeLabelProcessor
originalLabel
- the label as it was read from the Newick stringpublic String getLinkedOTUID(String processedLabel)
NewickReaderNodeLabelProcessor
getLinkedOTUID
in interface NewickReaderNodeLabelProcessor
processedLabel
- the processed label as it was returned by a call if NewickReaderNodeLabelProcessor.processLabel(String)
null
if no associated OTU ID exists