Package org.biojava.bio.seq.db.flat
Class FlatSequenceDBProvider
- java.lang.Object
-
- org.biojava.bio.seq.db.flat.FlatSequenceDBProvider
-
- All Implemented Interfaces:
SequenceDBProvider
public class FlatSequenceDBProvider extends Object implements SequenceDBProvider
FlatSequenceDBProvider
directory-services plugin for flatfile databases. This class is instantiated automatically by the directory-services code, and is not of direct interest to users.- Author:
- Keith James
-
-
Constructor Summary
Constructors Constructor Description FlatSequenceDBProvider()
-
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
-
FlatSequenceDBProvider
public FlatSequenceDBProvider()
-
-
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
-
-