| org.geotools.data.FileDataStoreFactorySpi
All known Subclasses: org.geotools.data.shapefile.ShapefileDataStoreFactory,
FileDataStoreFactorySpi | public interface FileDataStoreFactorySpi extends DataStoreFactorySpi(Code) | |
This interface includes some new functionality, and acts as a method of
discovery for DataStoreFactories which support singular files.
author: dzwiers |
canProcess | public boolean canProcess(URL f)(Code) | | True if the url can be handled by this factory.
Parameters: f - URL a url to a real file (may not be local) True when this dataStore can resolve and read the data specifiedby the URL. |
createDataStore | public DataStore createDataStore(URL url) throws IOException(Code) | | A DataStore attached to the provided url, may be created if needed.
Parameters: url - A URL to the data location for the single featureType of thisDataStore Returns an AbstractFileDataStore created from the data sourceprovided. throws: IOException - See Also: AbstractFileDataStore |
getFileExtensions | public String[] getFileExtensions()(Code) | | The list of filename extentions handled by this factory.
An ordered list of file extensions which can be read by thisdataStore. |
getTypeName | public String getTypeName(URL url) throws IOException(Code) | | The typeName represented by the provided url.
Parameters: url - The location of the datum to parse into features Returns the typename of the datum specified (on occasion thismay involve starting the parse as well to get the FeatureType-- may not be instantanious). throws: IOException - |
|
|