class GeoPackage extends Database
A GeoPackage Workspace.
Modifiers | Name | Description |
---|---|---|
static class |
GeoPackage.Factory |
The GeoPackage WorkspaceFactory |
Constructor and description |
---|
GeoPackage(java.io.File file, java.lang.String userName, java.lang.String password) Create a new GeoPackage Workspace from a database file |
GeoPackage(java.lang.String fileName, java.lang.String userName, java.lang.String password) Create a new GeoPackage Workspace from a database file |
GeoPackage(JDBCDataStore ds) Create a new GeoPackage Workspace from a GeoTools JDBCDataStore |
Methods inherited from class | Name |
---|---|
class Database |
createIndex, createIndex, createView, deleteIndex, deleteView, getDataSource, getIndexes, getSql, remove |
class Workspace |
add, add, close, create, create, get, getAt, getFormat, getLayers, getNames, getParameters, getStyle, getWorkspace, getWorkspace, getWorkspaceNames, getWorkspaceParameters, has, readFeatures, remove, remove, withWorkspace, withWorkspace, withWorkspace, wrap |
Create a new GeoPackage Workspace from a database file
file
- The GeoPackage database fileuserName
- The user namepassword
- The passwordCreate a new GeoPackage Workspace from a database file
fileName
- The GeoPackage database fileuserName
- The user namepassword
- The passwordCreate a new GeoPackage Workspace from a GeoTools JDBCDataStore
ds
- The GeoTools JDBCDataStore