org.geotools.data
Interface FileDataStore
- All Superinterfaces:
- DataAccess<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.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.
getSchema
org.opengis.feature.simple.SimpleFeatureType getSchema()
throws java.io.IOException
- FeatureType for the file being read.
This is the same as getSchema( getTypeName[0] )
- Returns:
- FeatureType of the file being read
- Throws:
java.io.IOException
- See Also:
DataStore.getSchema(java.lang.String)
updateSchema
void updateSchema(org.opengis.feature.simple.SimpleFeatureType featureType)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
DataStore.updateSchema(java.lang.String,SimpleFeatureType)
getFeatureSource
FeatureSource<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> getFeatureSource()
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
DataStore.getFeatureSource(java.lang.String)
getFeatureReader
FeatureReader<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> getFeatureReader()
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
org.geotools.data.DataStore#getFeatureReader(java.lang.String)
getFeatureWriter
FeatureWriter<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> getFeatureWriter(org.opengis.filter.Filter filter,
Transaction transaction)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
org.geotools.data.DataStore#getFeatureWriter(Filter,Transaction)
getFeatureWriter
FeatureWriter<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> getFeatureWriter(Transaction transaction)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
DataStore.getFeatureWriter(java.lang.String,
org.geotools.data.Transaction)
getFeatureWriterAppend
FeatureWriter<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> getFeatureWriterAppend(Transaction transaction)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
DataStore.getFeatureWriterAppend(java.lang.String,
org.geotools.data.Transaction)
Copyright © 1996-2010 Geotools. All Rights Reserved.