edu.upenn.gloDB.io
Interface TrackFile

All Superinterfaces:
DataFile
All Known Implementing Classes:
FASTATrack, GenBankTrack, GFFTrack, GloDBTrack

public interface TrackFile
extends DataFile

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

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

Method Summary
 Track load(java.lang.String filename)
          Load all Features in the data file into a single Track and return the resulting Track object.
 Track load(java.lang.String filename, java.lang.String sourceID)
          Load all Features in the data file into a single Track and return the resulting Track object.
 void save(java.lang.String id)
          Save the Track to a file based on it's ID.
 void save(java.lang.String id, java.lang.String filename, boolean overwrite)
          Save the object data.
 
Methods inherited from interface edu.upenn.gloDB.io.DataFile
getDesc, getExt, getFileFilter, getID
 

Method Detail

load

Track load(java.lang.String filename)
Load all Features in the data file into a single Track and return the resulting Track object.


load

Track load(java.lang.String filename,
           java.lang.String sourceID)
Load all Features in the data file into a single Track and return the resulting Track object.


save

void save(java.lang.String id)
Save the Track to a file based on it's ID. This should use the ID as the filename and set the overwrite flag to 'true'.


save

void save(java.lang.String id,
          java.lang.String filename,
          boolean overwrite)
Save the object data.




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