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 supplying SpatialDatabasesDSConnections
  • Field Details

  • Constructor Details

    • SpatialiteDataStoreDriver

      public SpatialiteDataStoreDriver()
  • Method Details

    • getVersion

      public String getVersion()
      additionally report spatialite version if connection exists
      Specified by:
      getVersion in interface DataStoreDriver
      Overrides:
      getVersion in class AbstractSpatialDatabasesDSDriver
    • 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:
      createConnection in interface DataStoreDriver
      Specified by:
      createConnection in class AbstractSpatialDatabasesDSDriver
      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.