Package org.geotools.data.shapefile
Class ShapefileDataStoreFactory.ShpFileStoreFactory
- Object
-
- ShpFileStoreFactory
-
- All Implemented Interfaces:
FileStoreFactory
,FilteringFileStoreFactory
- Enclosing class:
- ShapefileDataStoreFactory
public static class ShapefileDataStoreFactory.ShpFileStoreFactory extends Object implements FilteringFileStoreFactory
A delegates that allow to build a directory of shapfiles store- Author:
- Andrea Aime - OpenGeo
-
-
Constructor Summary
Constructors Constructor Description ShpFileStoreFactory(ShapefileDataStoreFactory factory, Map<String,?> originalParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataStore
getDataStore(File file)
Returns a store for the specified fileFileFilter
getFilter()
Returns a FileFilter to be applied on delegate store lookup
-
-
-
Constructor Detail
-
ShpFileStoreFactory
public ShpFileStoreFactory(ShapefileDataStoreFactory factory, Map<String,?> originalParams)
-
-
Method Detail
-
getDataStore
public DataStore getDataStore(File file) throws IOException
Description copied from interface:FileStoreFactory
Returns a store for the specified file- Specified by:
getDataStore
in interfaceFileStoreFactory
- Throws:
IOException
-
getFilter
public FileFilter getFilter() throws IOException
Description copied from interface:FilteringFileStoreFactory
Returns a FileFilter to be applied on delegate store lookup- Specified by:
getFilter
in interfaceFilteringFileStoreFactory
- Throws:
IOException
-
-