|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PHYLIPFileListener
Listens to events fired by the PHYLIP parser. Use these events to handle data directly or construct objects.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 sequence
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |