|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.data.AbstractDataStore
org.geotools.data.property.PropertyDataStore
| Field Summary | |
protected java.io.File |
directory
|
| Fields inherited from class org.geotools.data.AbstractDataStore |
isWriteable, listenerManager, LOGGER |
| Constructor Summary | |
PropertyDataStore(java.io.File dir)
|
|
| Method Summary | |
void |
createSchema(FeatureType featureType)
Subclass should implement to provide writing support. |
protected FeatureReader |
getFeatureReader(java.lang.String typeName)
Subclass must implement. |
FeatureSource |
getFeatureSource(java.lang.String typeName)
Default implementation based on getFeatureReader and getFeatureWriter. |
protected FeatureWriter |
getFeatureWriter(java.lang.String typeName)
Subclass can implement this to provide writing support. |
FeatureType |
getSchema(java.lang.String typeName)
Retrive schema information for typeName |
java.lang.String[] |
getTypeNames()
Convience method for retriving all the names from the Catalog Entires |
| Methods inherited from class org.geotools.data.AbstractDataStore |
createFeatureWriter, createLockingManager, createMetadata, getBounds, getCount, getFeatureReader, getFeatureReader, getFeatureWriter, getFeatureWriter, getFeatureWriterAppend, getLockingManager, getUnsupportedFilter, getView, updateSchema |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.io.File directory
| Constructor Detail |
public PropertyDataStore(java.io.File dir)
| Method Detail |
public java.lang.String[] getTypeNames()
AbstractDataStore
getTypeNames in interface DataStoregetTypeNames in class AbstractDataStore
public FeatureType getSchema(java.lang.String typeName)
throws java.io.IOException
AbstractDataStore
getSchema in interface DataStoregetSchema in class AbstractDataStorejava.io.IOException
protected FeatureReader getFeatureReader(java.lang.String typeName)
throws java.io.IOException
AbstractDataStore
getFeatureReader in class AbstractDataStoretypeName -
java.io.IOException
protected FeatureWriter getFeatureWriter(java.lang.String typeName)
throws java.io.IOException
AbstractDataStore
getFeatureWriter in class AbstractDataStoretypeName -
java.io.IOException - Subclass may throw IOException
public void createSchema(FeatureType featureType)
throws java.io.IOException
AbstractDataStore
createSchema in interface DataStorecreateSchema in class AbstractDataStorefeatureType - Requested FeatureType
java.io.IOException
public FeatureSource getFeatureSource(java.lang.String typeName)
throws java.io.IOException
AbstractDataStoreWe should be able to optimize this to only get the RowSet once
getFeatureSource in interface DataStoregetFeatureSource in class AbstractDataStorejava.io.IOExceptionDataStore.getFeatureSource(java.lang.String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||