public interface FileDataStoreFactorySpi extends DataStoreFactorySpi
This interface provides a mechanism of discovery for DataAccessFactories which support singular files.
DataAccessFactory.Param| Modifier and Type | Method and Description |
|---|---|
boolean |
canProcess(URL url)
Tests if the provided url can be handled by this factory.
|
FileDataStore |
createDataStore(URL url)
A DataStore attached to the provided url, may be created if needed.
|
String[] |
getFileExtensions()
The list of filename extentions handled by this factory.
|
String |
getTypeName(URL url)
The typeName represented by the provided url.
|
createDataStore, createNewDataStorecanProcess, getDescription, getDisplayName, getParametersInfo, isAvailablegetImplementationHintsString[] getFileExtensions()
boolean canProcess(URL url)
url - URL to a real file (may not be local)true if this url can when this dataStore can resolve and read the data
specifiedFileDataStore createDataStore(URL url) throws IOException
Please note that additional configuration options may be available via the traditional createDataStore( Map ) method provided by the superclass.
url - The data location for theIOExceptionAbstractFileDataStoreString getTypeName(URL url) throws IOException
url - The location of the datum to parse into featuresIOExceptionCopyright © 1996–2019 Geotools. All rights reserved.