org.xmldb.api.reference
public class DatabaseImpl extends SimpleDatabase
Field Summary | |
---|---|
protected static String | DATA_PREFIX
The default directory to look for to find the data files. |
protected static String | DIR_PROP
The property to look for to set the directory |
protected static String | SEP
The characters expected to separate the INSTANCE_NAME from the file system
path |
Method Summary | |
---|---|
Collection | getCollection(String uri, String username, String password)
Retrieves a Collection instance based on the URI provided
in the uri parameter. |
Collection
instance based on the URI provided
in the uri
parameter. The URI format for this implementation
is ref:///path where path is a path in the file system. To locate the data
files the database expects a directory data to exist in the current
directory.
Parameters: uri the URI to use to locate the collection.
Returns: The Collection
instance