A Workspace based on a directory of java style property files.
Property property = new Property("files") Layer layer = property.get("points")
Modifiers | Name | Description |
---|---|---|
static class |
Property.Factory |
The Property WorkspaceFactory |
Type Params | Return Type | Name and description |
---|---|---|
|
Layer |
get(java.lang.String name) Get a Layer by name
|
|
File |
getFile() Get the File
|
|
java.lang.String |
getFormat() Get the format
|
|
void |
remove(java.lang.String name) Remove a Layer by name from this Workspace
|
|
java.lang.String |
toString() Get the string representation
|
Methods inherited from class | Name |
---|---|
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 |
Create a new Property Workspace
directory
- The File directoryCreate a new Property Workspace
directory
- The File directoryCreate a new Property Workspace from a GeoTools PropertyDataStore
ds
- The GeoTools PropertyDataStoreGet a Layer by name
The
- Layer nameGet the File
Get the format
Remove a Layer by name from this Workspace
name
- The Layer nameGet the string representation