public class BlockTitleToIDMap extends java.lang.Object
NexusEventReader
and related classes to map Nexus block titles to JPhyloIO IDs.
Application code will usually not need to use this class directly.
Constructor and Description |
---|
BlockTitleToIDMap() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultBlockID(java.lang.String blockTypeName) |
java.lang.String |
getID(java.lang.String blockTypeName,
java.lang.String blockTitle) |
boolean |
hasDefaultBlockID(java.lang.String blockTypeName) |
void |
putDefaultBlockID(java.lang.String blockTypeName,
java.lang.String id) |
void |
putID(java.lang.String blockTypeName,
java.lang.String blockTitle,
java.lang.String id) |
public BlockTitleToIDMap()
public boolean hasDefaultBlockID(java.lang.String blockTypeName)
public java.lang.String getDefaultBlockID(java.lang.String blockTypeName)
public void putDefaultBlockID(java.lang.String blockTypeName, java.lang.String id)
public java.lang.String getID(java.lang.String blockTypeName, java.lang.String blockTitle)
public void putID(java.lang.String blockTypeName, java.lang.String blockTitle, java.lang.String id)