public class TaxaBlockParser extends NexusBlockParser.Abstract
NexusBlockParser.AbstractUNKNOWN_BLOCK| Constructor and Description |
|---|
TaxaBlockParser(TaxaBlockListener blockListener)
Delegates to NexusBlockParser.Abstract.
|
| Modifier and Type | Method and Description |
|---|---|
void |
parseToken(String token)
Notifies the parser of the next token.
|
void |
resetStatus()
This function is called when the parser is reset before starting a
new block.
|
beginComment, commentText, endBlock, endComment, endTokenGroup, getBlockListener, getBlockName, startBlock, wantsBracketsAndBracespublic TaxaBlockParser(TaxaBlockListener blockListener)
blockListener - the listener to send parse events to.public void resetStatus()
NexusBlockParser.AbstractresetStatus in class NexusBlockParser.Abstractpublic void parseToken(String token) throws ParseException
NexusBlockParserparseToken in interface NexusBlockParserparseToken in class NexusBlockParser.Abstracttoken - the token to parse.ParseException - if the token is unparseable.Copyright © 2020 BioJava. All rights reserved.