public class NexusFileBuilder extends NexusFileListener.Abstract
NexusFileListener.Abstract| Constructor and Description | 
|---|
NexusFileBuilder()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
beginFileComment()
This method will get called when a comment is started on the file,
 and not any block within it. 
 | 
protected void | 
blockEnded(NexusBlockParser blockParser)
This method gets called when the block parser is expected to have
 finished parsing a block. 
 | 
void | 
endFile()
Finished reading a file. 
 | 
void | 
endFileComment()
This method will get called when a comment is ended on the file, and
 not any block within it. 
 | 
void | 
fileCommentText(String comment)
This method will get called when comment text is found on the file,
 and not any block within it. 
 | 
NexusFile | 
getNexusFile()
Obtain the constructed file. 
 | 
void | 
setDefaultBlockParsers()
Causes the default block parsers to be assigned. 
 | 
void | 
startFile()
About to start a new file. 
 | 
beginComment, commentText, endBlock, endComment, endTokenGroup, getBlockParser, parseToken, setBlockParser, startBlock, wantsBracketsAndBracespublic NexusFileBuilder()
public void setDefaultBlockParsers()
NexusFileListenersetDefaultBlockParsers in interface NexusFileListenersetDefaultBlockParsers in class NexusFileListener.Abstractprotected void blockEnded(NexusBlockParser blockParser)
NexusFileListener.AbstractblockEnded in class NexusFileListener.AbstractblockParser - the parser that has finished.public void startFile()
NexusFileListenerpublic void endFile()
NexusFileListenerpublic NexusFile getNexusFile()
public void beginFileComment()
NexusFileListener.AbstractbeginFileComment in class NexusFileListener.Abstractpublic void fileCommentText(String comment)
NexusFileListener.AbstractfileCommentText in class NexusFileListener.Abstractcomment - the comment text.public void endFileComment()
NexusFileListener.AbstractendFileComment in class NexusFileListener.AbstractCopyright © 2020 BioJava. All rights reserved.