public class GSShapefileDatastoreEncoder extends GSAbstractDatastoreEncoder
| Constructor and Description |
|---|
GSShapefileDatastoreEncoder(RESTDataStore store)
Create a datastore encoder from an existing store read from server.
|
GSShapefileDatastoreEncoder(String name,
URL url)
Create a datastore with default connection parameters,
given a store name and a url (the store location).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCacheAndReuseMemoryMaps() |
Charset |
getCharset() |
boolean |
getCreateSpatialIndex() |
boolean |
getMemoryMappedBuffer() |
URL |
getUrl() |
protected String |
getValidType()
The type of the implementing datastore.
|
void |
setCacheAndReuseMemoryMaps(boolean cacheAndReuseMemoryMaps) |
void |
setCharset(Charset charset) |
void |
setCreateSpatialIndex(boolean createSpatialIndex) |
void |
setMemoryMappedBuffer(boolean memoryMappedBuffer) |
void |
setUrl(URL url) |
ensureValidName, ensureValidType, getDescription, getEnabled, getName, getStoreType, getType, setDescription, setEnabled, setName, setTypeadd, createElementWithAttribute, get, get, setadd, addContent, getRoot, isEmpty, remove, set, setRoot, setRoot, toStringpublic GSShapefileDatastoreEncoder(String name, URL url)
name - New datastore nameurl - The shapefile location in the server, relative to $GEOSERVER_DATA_DIR.public GSShapefileDatastoreEncoder(RESTDataStore store)
store - The existing store.IllegalArgumentException - if store type or mandatory parameters are not validpublic void setUrl(URL url)
public URL getUrl()
public void setCharset(Charset charset)
public Charset getCharset()
public void setCreateSpatialIndex(boolean createSpatialIndex)
public boolean getCreateSpatialIndex()
public void setMemoryMappedBuffer(boolean memoryMappedBuffer)
public boolean getMemoryMappedBuffer()
public void setCacheAndReuseMemoryMaps(boolean cacheAndReuseMemoryMaps)
public boolean getCacheAndReuseMemoryMaps()
protected String getValidType()
GSAbstractDatastoreEncodergetValidType in class GSAbstractDatastoreEncoderCopyright © 2007–2016 PDOK. All rights reserved.