jebl.evolution.io
Class PHYLIPExporter

java.lang.Object
  extended by jebl.evolution.io.PHYLIPExporter
All Implemented Interfaces:
AlignmentExporter

public class PHYLIPExporter
extends Object
implements AlignmentExporter

Export alignment to Phylip format. Must be one of the most braindead format around. Try to output something that hopefuly any "Phylip suppor" variant can read - up to 9 name chars, followed by a blank, followed by sequence on one line.

Author:
Joseph Heled

Constructor Summary
PHYLIPExporter(Writer writer)
           
 
Method Summary
 void exportAlignment(Alignment alignment)
          exportAlignment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PHYLIPExporter

public PHYLIPExporter(Writer writer)
Parameters:
writer - where export text goes
Method Detail

exportAlignment

public void exportAlignment(Alignment alignment)
                     throws IOException
Description copied from interface: AlignmentExporter
exportAlignment.

Specified by:
exportAlignment in interface AlignmentExporter
Throws:
IOException