|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 DataStore
getTypeNames
in class AbstractDataStore
public FeatureType getSchema(java.lang.String typeName) throws java.io.IOException
AbstractDataStore
getSchema
in interface DataStore
getSchema
in class AbstractDataStore
java.io.IOException
protected FeatureReader getFeatureReader(java.lang.String typeName) throws java.io.IOException
AbstractDataStore
getFeatureReader
in class AbstractDataStore
typeName
-
java.io.IOException
protected FeatureWriter getFeatureWriter(java.lang.String typeName) throws java.io.IOException
AbstractDataStore
getFeatureWriter
in class AbstractDataStore
typeName
-
java.io.IOException
- Subclass may throw IOExceptionpublic void createSchema(FeatureType featureType) throws java.io.IOException
AbstractDataStore
createSchema
in interface DataStore
createSchema
in class AbstractDataStore
featureType
- Requested FeatureType
java.io.IOException
public FeatureSource getFeatureSource(java.lang.String typeName) throws java.io.IOException
AbstractDataStore
We should be able to optimize this to only get the RowSet once
getFeatureSource
in interface DataStore
getFeatureSource
in class AbstractDataStore
java.io.IOException
DataStore.getFeatureSource(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |