org.geotools.data
Interface FileDataStore
- All Superinterfaces:
- DataAccess<SimpleFeatureType,SimpleFeature>, DataStore
- All Known Implementing Classes:
- AbstractFileDataStore, IndexedShapefileDataStore, ShapefileDataStore
public interface FileDataStore
- extends DataStore
DataStore represents a single file of content.
Allows developer to skip refering to the typeName when a file contains
only a single set of content.
- Module:
modules/library/api (gt-api.jar)
getSchema
SimpleFeatureType getSchema()
throws IOException
- FeatureType for the file being read.
This is the same as getSchema( getTypeName[0] )
- Returns:
- FeatureType of the file being read
- Throws:
IOException
- See Also:
DataStore.getSchema(java.lang.String)
updateSchema
void updateSchema(SimpleFeatureType featureType)
throws IOException
- Throws:
IOException
- See Also:
DataStore.updateSchema(java.lang.String,SimpleFeatureType)
getFeatureSource
FeatureSource<SimpleFeatureType,SimpleFeature> getFeatureSource()
throws IOException
- Throws:
IOException
- See Also:
DataStore.getFeatureSource(java.lang.String)
getFeatureReader
FeatureReader<SimpleFeatureType,SimpleFeature> getFeatureReader()
throws IOException
- Throws:
IOException
- See Also:
org.geotools.data.DataStore#getFeatureReader(java.lang.String)
getFeatureWriter
FeatureWriter<SimpleFeatureType,SimpleFeature> getFeatureWriter(Filter filter,
Transaction transaction)
throws IOException
- Throws:
IOException
- See Also:
org.geotools.data.DataStore#getFeatureWriter(Filter,Transaction)
getFeatureWriter
FeatureWriter<SimpleFeatureType,SimpleFeature> getFeatureWriter(Transaction transaction)
throws IOException
- Throws:
IOException
- See Also:
DataStore.getFeatureWriter(java.lang.String,
org.geotools.data.Transaction)
getFeatureWriterAppend
FeatureWriter<SimpleFeatureType,SimpleFeature> getFeatureWriterAppend(Transaction transaction)
throws IOException
- Throws:
IOException
- See Also:
DataStore.getFeatureWriterAppend(java.lang.String,
org.geotools.data.Transaction)
Copyright © 1996-2009 Geotools. All Rights Reserved.