jebl.evolution.io
Class MEGAExporter

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

public class MEGAExporter
extends java.lang.Object
implements AlignmentExporter

* Export to MEGA.

Version:
$Id: MEGAExporter.java 530 2006-11-15 04:01:44Z stevensh $
Author:
Joseph Heled

Constructor Summary
MEGAExporter(java.io.Writer writer, java.lang.String comment)
           
 
Method Summary
 void exportAlignment(Alignment alignment)
          Deprecated. Files created by this export method won't be importable by MEGA (because they don't have titles). Use exportAlignment(jebl.evolution.alignments.Alignment, String) instead.
 void exportAlignment(Alignment alignment, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MEGAExporter

public MEGAExporter(java.io.Writer writer,
                    java.lang.String comment)
Parameters:
writer - where export text goes
Method Detail

exportAlignment

public void exportAlignment(Alignment alignment,
                            java.lang.String name)
                     throws java.io.IOException
Parameters:
alignment - the alignment to export
name - the name of the alignment
Throws:
java.io.IOException

exportAlignment

public void exportAlignment(Alignment alignment)
                     throws java.io.IOException
Deprecated. Files created by this export method won't be importable by MEGA (because they don't have titles). Use exportAlignment(jebl.evolution.alignments.Alignment, String) instead.

Description copied from interface: AlignmentExporter
export one alignment.

Specified by:
exportAlignment in interface AlignmentExporter
Parameters:
alignment -
Throws:
java.io.IOException


http://code.google.com/p/jebl2/