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 = null, java.lang.String password = null)Create a new GeoPackage Workspace from a database file |
GeoPackage
(java.lang.String fileName, java.lang.String userName = null, java.lang.String password = null)Create a new GeoPackage Workspace from a database file |
GeoPackage
(org.geotools.jdbc.JDBCDataStore ds)Create a new GeoPackage Workspace from a GeoTools JDBCDataStore |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.String |
getFormat()Get the format |
| 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, getWorkspace, getWorkspace, getWorkspaceNames, getWorkspaceParameters, has, readFeatures, remove, remove, withWorkspace, withWorkspace, withWorkspace, wrap |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
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