Package org.biojava.bio.program.unigene
Interface UnigeneFactory
-
- All Known Implementing Classes:
FlatFileUnigeneFactory,SQLUnigeneFactory
public interface UnigeneFactory
Objects that can be used to produce a
UnigeneDBinstance given a URL.This class is intended for implementers of the Unigene functionality
The URL is used to locate the unigene data, as well as potentialy deciding upon the access mechanism. Factory implementations are provided for
fileandjdbcURLs. You can add another stoorage mechanism to the system by writing an implementation ofUnigeneFactoryand registering it with UnigeneTools.- Author:
- Matthew Pocock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanAccept(URL unigeneURL)UnigeneDBcreateUnigene(URL unigeneURL)UnigeneDBloadUnigene(URL unigeneURL)
-
-
-
Method Detail
-
loadUnigene
UnigeneDB loadUnigene(URL unigeneURL) throws BioException
- Throws:
BioException
-
createUnigene
UnigeneDB createUnigene(URL unigeneURL) throws BioException
- Throws:
BioException
-
-