edu.upenn.gloDB.io
Interface DataFile

All Known Subinterfaces:
SequenceFile, TrackFile
All Known Implementing Classes:
FASTASequence, FASTATrack, GenBankTrack, GFFTrack, GloDBTrack

public interface DataFile

Interface for files that contain Features or Sequences (ie. GloDB, FASTA, GFF, and GenBank).

Version:
$Id: DataFile.java,v 1.2.2.6 2007/03/01 21:17:33 fisher Exp $

Method Summary
 java.lang.String getDesc()
          Get a description of the file type.
 java.lang.String[] getExt()
          Get an array of file extensions.
 javax.swing.filechooser.FileFilter getFileFilter()
          Get a FileFilter for use in the GUI.
 int getID()
          Get the file ID.
 

Method Detail

getID

int getID()
Get the file ID. FileIO contains constant values and string equivalents for built-in DataFiles.


getDesc

java.lang.String getDesc()
Get a description of the file type. This description will be used in the file chooser.


getExt

java.lang.String[] getExt()
Get an array of file extensions. These extensions will be used by the file chooser.


getFileFilter

javax.swing.filechooser.FileFilter getFileFilter()
Get a FileFilter for use in the GUI.




Copyright 2012 Stephen Fisher and Junhyong Kim, University of Pennsylvania. All Rights Reserved.