|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.upenn.gloDB.io.FileIO
public class FileIO
Import and export utilities.
Field Summary | |
---|---|
static int |
FASTA
|
static int |
GENBANK
|
static int |
GFF
|
static int |
GLODB
|
private static java.util.HashSet |
sequenceFileTypes
This HashSet is used to store references to SequenceFile types. |
private static java.util.HashSet |
trackFileTypes
This HashSet is used to store references to TrackFile types. |
Constructor Summary | |
---|---|
FileIO()
|
Method Summary | |
---|---|
static void |
addSequenceFileType(SequenceFile sequenceFileType)
Adds the Seqeunce file type to the list of possible types. |
static void |
addTrackFileType(TrackFile trackFileType)
Adds the Track file type to the list of possible types. |
static java.lang.String |
convertConstant(int val)
Convert from the integer constant value to a string equivalent. |
static DataFile |
getDataType(int type,
java.lang.String desc)
Returns the DataFile based on the file type and type description. |
static java.util.HashSet |
getDataTypes(int type)
Returns the DataFiles based on the file type. |
static SequenceFile |
getSequenceFileType(int id)
Returns the SequenceFile based on the file type ID. |
static SequenceFile |
getSequenceFileType(java.lang.String desc)
Returns the SequenceFile based on the file type description. |
static java.util.HashSet |
getSequenceFileTypes()
Returns the set of Sequence file types. |
static TrackFile |
getTrackFileType(int id)
Returns the TrackFile based on the file type ID. |
static TrackFile |
getTrackFileType(java.lang.String desc)
Returns the TrackFile based on the file type description. |
static java.util.HashSet |
getTrackFileTypes()
Returns the set of Track file types. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int GLODB
public static final int FASTA
public static final int GFF
public static final int GENBANK
private static java.util.HashSet trackFileTypes
private static java.util.HashSet sequenceFileTypes
Constructor Detail |
---|
public FileIO()
Method Detail |
---|
public static java.util.HashSet getTrackFileTypes()
public static java.util.HashSet getSequenceFileTypes()
public static java.lang.String convertConstant(int val)
public static java.util.HashSet getDataTypes(int type)
public static DataFile getDataType(int type, java.lang.String desc)
public static void addTrackFileType(TrackFile trackFileType)
public static TrackFile getTrackFileType(java.lang.String desc)
public static TrackFile getTrackFileType(int id)
public static void addSequenceFileType(SequenceFile sequenceFileType)
public static SequenceFile getSequenceFileType(java.lang.String desc)
public static SequenceFile getSequenceFileType(int id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |