public interface PHYLIPFileListener
Modifier and Type | Method and Description |
---|---|
void |
endFile()
Finished reading a file.
|
void |
receiveSequence(java.lang.String sequence)
Receive sequence data for the current sequence.
|
void |
setCurrentSequenceName(java.lang.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(java.lang.String name)
name
- the label for the current sequencevoid receiveSequence(java.lang.String sequence)
sequence
- sequence text for the current sequence