public class ShapefileDirectoryFactory extends ShapefileDataStoreFactory
ShapefileDataStoreFactory.ShpFileStoreFactoryDataAccessFactory.Param| Modifier and Type | Field and Description |
|---|---|
static DataAccessFactory.Param |
URLP
The directory to be scanned for file data stores
|
CACHE_MEMORY_MAPS, CREATE_SPATIAL_INDEX, DBFCHARSET, DBFTIMEZONE, ENABLE_SPATIAL_INDEX, FILE_TYPE, FSTYPE, MEMORY_MAPPED, NAMESPACEP| Constructor and Description |
|---|
ShapefileDirectoryFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProcess(Map params)
Test to see if this factory is suitable for processing the data pointed to by the params map.
|
String |
getDescription()
Describe the nature of the datasource constructed by this factory.
|
String |
getDisplayName()
Name suitable for display to end user.
|
canProcess, createDataStore, createDataStore, createNewDataStore, getFileExtensions, getImplementationHints, getParametersInfo, getTypeName, isAvailablepublic static final DataAccessFactory.Param URLP
public String getDisplayName()
DataAccessFactoryA non localized display name for this data store type.
getDisplayName in interface DataAccessFactorygetDisplayName in class ShapefileDataStoreFactorypublic String getDescription()
DataAccessFactoryA non localized description of this data store type.
getDescription in interface DataAccessFactorygetDescription in class ShapefileDataStoreFactorypublic boolean canProcess(Map params)
DataAccessFactoryIf this datasource requires a number of parameters then this mehtod should check that they are all present and that they are all valid. If the datasource is a file reading data source then the extentions or mime types of any files specified should be checked. For example, a Shapefile datasource should check that the url param ends with shp, such tests should be case insensative.
canProcess in interface DataAccessFactorycanProcess in class ShapefileDataStoreFactoryparams - The full set of information needed to construct a live data source.Copyright © 1996–2019 Geotools. All rights reserved.