|
Revision 545 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bridgedb.BridgeDb
public final class BridgeDb
Central access point for connecting to IDMappers.
| Method Summary | |
|---|---|
static IDMapper |
connect(java.lang.String connectionString)
Finds the correct implementation of the IDMapper interface and instantiates it. |
static void |
register(java.lang.String protocol,
Driver driver)
Used by Driver implementations to register themselves and make
themselves available to the world. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static IDMapper connect(java.lang.String connectionString)
throws IDMapperException
IDMapper interface and instantiates it.
connectionString - used to configure a mapping resource. The connectionString
has the form "protocol:location", where protocol can be e.g. "idmapper-text" or
"idmapper-pgdb", and location is for example an url or a file, depending
on the protocol.IDMapperException - when the right IDMapper implementation could not
be instantiated, or when the connection string is not formatted correctly
public static void register(java.lang.String protocol,
Driver driver)
Driver implementations to register themselves and make
themselves available to the world.
protocol - The protocol (part before ":" in connection string) that this Driver is for.driver - An instance of the Driver.
|
Generated November 2 2011 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||