Class SpatialiteDataStoreDriver
- java.lang.Object
-
- com.vividsolutions.jump.datastore.spatialdatabases.AbstractSpatialDatabasesDSDriver
-
- com.vividsolutions.jump.datastore.spatialite.SpatialiteDataStoreDriver
-
- All Implemented Interfaces:
DataStoreDriver
public class SpatialiteDataStoreDriver extends AbstractSpatialDatabasesDSDriver
A driver for supplyingSpatialDatabasesDSConnections
-
-
Field Summary
Fields Modifier and Type Field Description static StringJDBC_CLASS-
Fields inherited from class com.vividsolutions.jump.datastore.spatialdatabases.AbstractSpatialDatabasesDSDriver
driverName, jdbcClass, jdbcDriver, PARAM_DB_File, PARAM_Instance, PARAM_Password, PARAM_Port, PARAM_Server, PARAM_User, paramClasses, paramNames, schema, urlPrefix
-
Fields inherited from interface com.vividsolutions.jump.datastore.DataStoreDriver
REGISTRY_CLASSIFICATION
-
-
Constructor Summary
Constructors Constructor Description SpatialiteDataStoreDriver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataStoreConnectioncreateConnection(ParameterList params)returns a spatialite JDBC connection with spatialite extension loaded if possible if not, a property will tell soIcongetConnectedIcon()Default icon for this driver after a connection to the datastore has been set.IcongetDisconnectedIcon()Default icon for this driver when there is no active connection.StringgetVersion()additionally report spatialite version if connection exists-
Methods inherited from class com.vividsolutions.jump.datastore.spatialdatabases.AbstractSpatialDatabasesDSDriver
createJdbcConnection, createJdbcConnection, createJdbcUrl, getJdbcClass, getJdbcDriver, getJdbcDriverVersion, getName, getParamClasses, getParameterListSchema, getParamNames, getSchema, getUrlPrefix, initializeJdbcDriver, isAdHocQuerySupported
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vividsolutions.jump.datastore.DataStoreDriver
toString
-
-
-
-
Field Detail
-
JDBC_CLASS
public static final String JDBC_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getVersion
public String getVersion()
additionally report spatialite version if connection exists- Specified by:
getVersionin interfaceDataStoreDriver- Overrides:
getVersionin classAbstractSpatialDatabasesDSDriver
-
createConnection
public DataStoreConnection createConnection(ParameterList params) throws Exception
returns a spatialite JDBC connection with spatialite extension loaded if possible if not, a property will tell so- Specified by:
createConnectionin interfaceDataStoreDriver- Specified by:
createConnectionin classAbstractSpatialDatabasesDSDriver- Parameters:
params- list of Connection parameters- Returns:
- a DataStoreConnection
- Throws:
Exception- if an Exception occurs
-
getConnectedIcon
public Icon getConnectedIcon()
Default icon for this driver after a connection to the datastore has been set. Subclass should overload this method to offer a database specific icon.
-
getDisconnectedIcon
public Icon getDisconnectedIcon()
Default icon for this driver when there is no active connection. Subclass should overload this method to offer a database specific icon.
-
-