rio - gsdir work...
[jalview.git] / forester / java / src / org / forester / msa / Msa.java
index 6ffa1ea..790b674 100644 (file)
@@ -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;
 }