public interface PHYLIPFileListener
Modifier and Type | Method and Description |
---|---|
void |
endFile()
Finished reading a file.
|
void |
receiveSequence(String sequence)
Receive sequence data for the current sequence.
|
void |
setCurrentSequenceName(String name)
Set the name of the sequence which is about to be received.
|
void |
setSequenceCount(int count)
Set the number of sequences in the alignment.
|
void |
setSitesCount(int count)
Set the number of sites in the alignment
|
void |
startFile()
About to start a new file.
|
void startFile()
void endFile() throws ParseException
ParseException
void setSequenceCount(int count)
count
- the expected number of sequencesvoid setSitesCount(int count)
count
- the expected number of sitesvoid setCurrentSequenceName(String name)
name
- the label for the current sequencevoid receiveSequence(String sequence)
sequence
- sequence text for the current sequenceCopyright © 2020 BioJava. All rights reserved.