public class CharactersBlockParser extends NexusBlockParser.Abstract
NexusBlockParser.AbstractUNKNOWN_BLOCK| Constructor and Description |
|---|
CharactersBlockParser(CharactersBlockListener 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, startBlockpublic CharactersBlockParser(CharactersBlockListener blockListener)
blockListener - the listener to send parse events to.public void resetStatus()
NexusBlockParser.AbstractresetStatus in class NexusBlockParser.Abstractpublic boolean wantsBracketsAndBraces()
NexusBlockParserwantsBracketsAndBraces in interface NexusBlockParserwantsBracketsAndBraces 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.