X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Fmsa%2FMsa.java;h=1eb9533c17c278f510d6816b83576eb1f7ccb8d6;hb=d4d61f9d2969283e821f650d031c169899fb3870;hp=6ffa1ea3cf27c279b3a29020cd611ea6cfa64656;hpb=b1a74bd076c917d428002284a53a2c6f390226fb;p=jalview.git diff --git a/forester/java/src/org/forester/msa/Msa.java b/forester/java/src/org/forester/msa/Msa.java index 6ffa1ea..1eb9533 100644 --- a/forester/java/src/org/forester/msa/Msa.java +++ b/forester/java/src/org/forester/msa/Msa.java @@ -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; }