|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojavax.bio.phylo.io.nexus.NexusBlockParser.Abstract
org.biojavax.bio.phylo.io.nexus.DistancesBlockParser
public class DistancesBlockParser
Parses Nexus distances blocks.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.biojavax.bio.phylo.io.nexus.NexusBlockParser |
---|
NexusBlockParser.Abstract |
Field Summary |
---|
Fields inherited from interface org.biojavax.bio.phylo.io.nexus.NexusBlockParser |
---|
UNKNOWN_BLOCK |
Constructor Summary | |
---|---|
DistancesBlockParser(DistancesBlockListener blockListener)
Delegates to NexusBlockParser.Abstract. |
Method Summary | |
---|---|
void |
parseToken(java.lang.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? |
Methods inherited from class org.biojavax.bio.phylo.io.nexus.NexusBlockParser.Abstract |
---|
beginComment, commentText, endBlock, endComment, endTokenGroup, getBlockListener, getBlockName, startBlock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DistancesBlockParser(DistancesBlockListener blockListener)
blockListener
- the listener to send parse events to.Method Detail |
---|
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(java.lang.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |