1 package jalview.io.packed;
4 * API for a data provider that can be used with jalview.io.packed.ParsePackedSet
8 public interface DataProvider
11 * class of data expected to be provided by datasource
15 public enum JvDataType
18 * any alignment flatfile recognisable by jalview.io.IdentifyFile
22 * a jalview annotation file
26 * a GFF or Jalview features file
30 * a tree representation understood by the NewickFile parser
34 * any file that provides data that should be associated with a specified sequence.
40 * data to be parsed according to its type. Each call to getDataSource
41 * should return a new instance of the same data stream initialised to the
42 * beginning of the chunk of data that is to be parsed.
46 jalview.io.FileParse getDataSource();
49 * association context for data. Either null or a specific sequence.
53 Object getSequenceTarget();
60 DataProvider.JvDataType getType();