it.geosolutions.geoserver.rest.encoder.datastore
Class GSDirectoryOfShapefilesDatastoreEncoder
java.lang.Object
it.geosolutions.geoserver.rest.encoder.utils.XmlElement
it.geosolutions.geoserver.rest.encoder.utils.PropertyXMLEncoder
it.geosolutions.geoserver.rest.encoder.GSAbstractStoreEncoder
it.geosolutions.geoserver.rest.encoder.datastore.GSAbstractDatastoreEncoder
it.geosolutions.geoserver.rest.encoder.datastore.GSShapefileDatastoreEncoder
it.geosolutions.geoserver.rest.encoder.datastore.GSDirectoryOfShapefilesDatastoreEncoder
public class GSDirectoryOfShapefilesDatastoreEncoder
- extends GSShapefileDatastoreEncoder
Encoder for a datastore.
- Author:
- Oscar Fonts
Methods inherited from class it.geosolutions.geoserver.rest.encoder.GSAbstractStoreEncoder |
ensureValidName, ensureValidType, getDescription, getEnabled, getName, getStoreType, getType, setDescription, setEnabled, setName, setType |
GSDirectoryOfShapefilesDatastoreEncoder
public GSDirectoryOfShapefilesDatastoreEncoder(String name,
URL url)
- Create a datastore with default connection parameters, given a store name and a url (the store location).
- Parameters:
name
- New datastore nameurl
- The shapefile location in the server, relative to $GEOSERVER_DATA_DIR.
GSDirectoryOfShapefilesDatastoreEncoder
public GSDirectoryOfShapefilesDatastoreEncoder(RESTDataStore store)
- Create a datastore encoder from an existing store read from server.
- Parameters:
store
- The existing store.
- Throws:
IllegalArgumentException
- if store type or mandatory parameters are not valid
getValidType
protected String getValidType()
- Description copied from class:
GSAbstractDatastoreEncoder
- The type of the implementing datastore.
- Overrides:
getValidType
in class GSShapefileDatastoreEncoder
- Returns:
Copyright © 2007-2013 GeoSolutions. All Rights Reserved.