public interface Driver
| Modifier and Type | Method and Description |
|---|---|
IDMapper |
connect(String locationString)
Never call this method directly, use
BridgeDb.connect(java.lang.String) instead. |
IDMapper connect(String locationString) throws IDMapperException
BridgeDb.connect(java.lang.String) instead.
This method interprets the location part of the connection string and uses
that to configure an IDMapper.locationString - string with all necessary information to configure the resource.
e.g. this could contain a URL or file location with optional parameters at the end.IDMapperException - when a connection to the resource could not be created, or
the IDMapper implementation could not be instantiated for any reason. IDMapperException
should be thrown also if the locationString could not be parsed, or if it was
wrongly formatted.Copyright © 2006–2021 BridgeDb project. All rights reserved.