public class DistancesBlockParser extends NexusBlockParser.Abstract
NexusBlockParser.Abstract
UNKNOWN_BLOCK
Constructor and Description |
---|
DistancesBlockParser(DistancesBlockListener 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.
|
boolean |
wantsBracketsAndBraces()
Does the listener want to know about brackets and braces as separate
tokens?
|
beginComment, commentText, endBlock, endComment, endTokenGroup, getBlockListener, getBlockName, startBlock
public DistancesBlockParser(DistancesBlockListener blockListener)
blockListener
- the listener to send parse events to.public void resetStatus()
NexusBlockParser.Abstract
resetStatus
in class NexusBlockParser.Abstract
public boolean wantsBracketsAndBraces()
NexusBlockParser
wantsBracketsAndBraces
in interface NexusBlockParser
wantsBracketsAndBraces
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.