Class PHYLIPFileBuilder

  • All Implemented Interfaces:
    PHYLIPFileListener

    public class PHYLIPFileBuilder
    extends java.lang.Object
    implements PHYLIPFileListener
    Builds a PHYLIP file by listening to events.
    Since:
    1.6
    Author:
    Richard Holland, Tobias Thierer, Jim Balhoff
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void endFile()
      Finished reading a file.
      Alignment getAlignment()  
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PHYLIPFileBuilder

        public PHYLIPFileBuilder()