|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.xquark.extractor.ExtractorDriver
Field Summary | |
static java.lang.String |
EXTRACTOR_URL_PREFIX
|
Method Summary | |
boolean |
acceptsURI(java.lang.String uri)
Returns true if the driver understand the specified connection string |
XMLDataSource |
getDataSource(java.lang.String uri)
To obtain a handle to a data source with the specified URI. |
XMLDataSource |
getDataSource(java.lang.String uri,
java.lang.String user,
java.lang.String password)
To obtain a handle to a data source with the specified URI, user name and password. |
java.lang.String |
getSpecificPart(java.lang.String uri)
Returns the driver-specific part of the URI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String EXTRACTOR_URL_PREFIX
Method Detail |
public boolean acceptsURI(java.lang.String uri) throws XMLDBCException
XMLDriver
acceptsURI
in interface XMLDriver
uri
- the connection string
XMLDBCException
public java.lang.String getSpecificPart(java.lang.String uri) throws XMLDBCException
XMLDriver
getSpecificPart
in interface XMLDriver
uri
-
XMLDBCException
- if the URI is not recognized by the driverpublic XMLDataSource getDataSource(java.lang.String uri) throws XMLDBCException
XMLDriver
getDataSource
in interface XMLDriver
uri
- an URI corresponding to a data source.
XMLDBCException
- if a data source access error occurs.public XMLDataSource getDataSource(java.lang.String uri, java.lang.String user, java.lang.String password) throws XMLDBCException
XMLDriver
getDataSource
in interface XMLDriver
uri
- a URI corresponding to a data source.user
- a user namepassword
- a user password
XMLDBCException
- if a data source access error occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |