FileFormatI further tweaks, clean compile
[jalview.git] / src / jalview / io / FileFormatI.java
1 package jalview.io;
2
3 import java.io.IOException;
4
5 public interface FileFormatI
6 {
7
8   AlignmentFileI getAlignmentFile(String inFile, DataSourceType sourceType)
9           throws IOException;
10
11   AlignmentFileI getAlignmentFile(FileParse source) throws IOException;
12
13   AlignmentFileI getAlignmentFile();
14
15   boolean isComplexAlignFile();
16
17   String getShortDescription();
18
19   /**
20    * Returns a comma-separated list of file extensions associated with the
21    * format
22    * 
23    * @return
24    */
25   String getExtensions();
26
27   boolean isReadable();
28
29   boolean isWritable();
30 }