abstract class WorkspaceFactory<T extends Workspace> extends java.lang.Object
A WorkspaceFactory creates Workspaces from connection parameters
<
- T > The Workspace created by this WorkspaceFactoryConstructor and description |
---|
WorkspaceFactory
() |
Type Params | Return Type | Name and description |
---|---|---|
|
T |
create(java.lang.String str) Create a Workspace from a connection string. |
|
T |
create(Map params) Create a Workspace from a Map of connection parameters |
|
T |
create(java.lang.String type, Map params) Create a Workspace from a Map of connection parameters |
|
abstract T |
create(DataStore dataStore) Create a Workspace wrapping the GeoTools DataStore. |
|
Map |
getParametersFromString(java.lang.String str) Get a map of connection parameters from a connection string. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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 Workspace from a connection string.
str
- The connection stringCreate a Workspace from a Map of connection parameters
params
- The connection parametersCreate a Workspace from a Map of connection parameters
type
- The workspace typeparams
- The connection parametersCreate a Workspace wrapping the GeoTools DataStore. Return null if this Workspace does not wrap the DataStore
dataStore
- The GeoTools DataStoreGet a map of connection parameters from a connection string.
str
- The connection string