public interface UnigeneFactory
Objects that can be used to produce a UnigeneDB
instance
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
file
and jdbc
URLs. You can add another stoorage
mechanism to the system by writing an implementation of
UnigeneFactory
and registering it with UnigeneTools.
Modifier and Type | Method and Description |
---|---|
boolean |
canAccept(URL unigeneURL) |
UnigeneDB |
createUnigene(URL unigeneURL) |
UnigeneDB |
loadUnigene(URL unigeneURL) |
UnigeneDB loadUnigene(URL unigeneURL) throws BioException
BioException
UnigeneDB createUnigene(URL unigeneURL) throws BioException
BioException
Copyright © 2014 BioJava. All rights reserved.