public enum FileFormat implements FileFormatI
{
- Fasta("Fasta", "fa, fasta, mfa, fastq", true, true)
+ Fasta("Fasta", "fa,fasta,mfa,fastq", true, true)
{
@Override
public AlignmentFileReaderI getReader(FileParse source)
return new PIRFile();
}
},
- BLC("BLC", "BLC", true, true)
+ BLC("BLC", "blc", true, true)
{
@Override
public AlignmentFileReaderI getReader(FileParse source)
return new PhylipFile();
}
},
- GenBank("GenBank Flatfile", "gb", true, false)
+ GenBank("GenBank Flatfile", "gb,gbk", true, false)
{
@Override
public AlignmentFileReaderI getReader(FileParse source)
return new FeaturesFile();
}
},
+ FeatureSettings("Jalview Feature Settings File","fc",false,false)
+ {
+ @Override
+ public AlignmentFileReaderI getReader(FileParse source)
+ throws IOException
+ {
+ return null;
+ }
+
+ @Override
+ public AlignmentFileWriterI getWriter(AlignmentI al)
+ {
+ return null;
+ }
+ },
ScoreMatrix("Substitution matrix", "", false, false)
{
@Override
return true;
}
},
- Jalview("Jalview", "jvp, jar", true, true)
+ Jalview("Jalview", "jvp,jar", true, true)
{
@Override
public AlignmentFileReaderI getReader(FileParse source)
* @param shortName
* @param extensions
* comma-separated list of file extensions associated with the format
- * @param isReadable - can be recognised by IdentifyFile and imported with the given reader
- * @param isWritable - can be exported with the returned writer
+ * @param isReadable
+ * - can be recognised by IdentifyFile and imported with the given
+ * reader
+ * @param isWritable
+ * - can be exported with the returned writer
*/
private FileFormat(String shortName, String extensions,
boolean isReadable, boolean isWritable)