public class ShapefileDirectoryFactory extends ShapefileDataStoreFactory
ShapefileDataStoreFactory.ShpFileStoreFactory
DataAccessFactory.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, isAvailable
public static final DataAccessFactory.Param URLP
public String getDisplayName()
DataAccessFactory
A non localized display name for this data store type.
getDisplayName
in interface DataAccessFactory
getDisplayName
in class ShapefileDataStoreFactory
public String getDescription()
DataAccessFactory
A non localized description of this data store type.
getDescription
in interface DataAccessFactory
getDescription
in class ShapefileDataStoreFactory
public boolean canProcess(Map params)
DataAccessFactory
If 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 DataAccessFactory
canProcess
in class ShapefileDataStoreFactory
params
- The full set of information needed to construct a live data source.Copyright © 1996–2019 Geotools. All rights reserved.