inprogress
[jalview.git] / forester / java / src / org / forester / msa / Msa.java
index 6ffa1ea..1eb9533 100644 (file)
@@ -21,7 +21,7 @@
 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 //
 // Contact: phylosoft @ gmail . com
-// WWW: www.phylosoft.org/forester
+// WWW: https://sites.google.com/site/cmzmasek/home/software/forester
 
 package org.forester.msa;
 
@@ -34,6 +34,10 @@ import org.forester.sequence.Sequence.TYPE;
 
 public interface Msa {
 
+    public static enum MSA_FORMAT {
+        FASTA, PHYLIP;
+    }
+
     public String getIdentifier( int row );
 
     public void setIdentifier( int row, String identifier );
@@ -58,5 +62,5 @@ public interface Msa {
 
     public void setResidueAt( final int row, final int col, final char residue );
 
-    public void write( Writer w ) throws IOException;
+    public void write( Writer w, MSA_FORMAT format ) throws IOException;
 }