public class TaxaBlockParser extends NexusBlockParser.Abstract
NexusBlockParser.Abstract
UNKNOWN_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, wantsBracketsAndBraces
public TaxaBlockParser(TaxaBlockListener blockListener)
blockListener
- the listener to send parse events to.public void resetStatus()
NexusBlockParser.Abstract
resetStatus
in class NexusBlockParser.Abstract
public void parseToken(String token) throws ParseException
NexusBlockParser
parseToken
in interface NexusBlockParser
parseToken
in class NexusBlockParser.Abstract
token
- the token to parse.ParseException
- if the token is unparseable.Copyright © 2014 BioJava. All rights reserved.