Package org.biojava.bio.seq.db.biofetch
Class BioFetchSequenceDBProvider
- java.lang.Object
-
- org.biojava.bio.seq.db.biofetch.BioFetchSequenceDBProvider
-
- All Implemented Interfaces:
SequenceDBProvider
public class BioFetchSequenceDBProvider extends Object implements SequenceDBProvider
Directory-services plugin for biofetch databases. This class is instantiated automatically by the directory-services code, and is not of direct interest to users.- Since:
- 1.3
- Author:
- Thomas Down, Keith James
-
-
Constructor Summary
Constructors Constructor Description BioFetchSequenceDBProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
The name of this provider.SequenceDBLite
getSequenceDB(Map config)
Get a sequence database.
-
-
-
Constructor Detail
-
BioFetchSequenceDBProvider
public BioFetchSequenceDBProvider()
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:SequenceDBProvider
The name of this provider.- Specified by:
getName
in interfaceSequenceDBProvider
- Returns:
- the provider's name.
-
getSequenceDB
public SequenceDBLite getSequenceDB(Map config) throws RegistryException, BioException
Description copied from interface:SequenceDBProvider
Get a sequence database.- Specified by:
getSequenceDB
in interfaceSequenceDBProvider
- Parameters:
config
- a Map containing key-value pairs identifying the database to resolve.- Returns:
- a SequenceDBLite that was resolved.
- Throws:
RegistryException
BioException
-
-