org.geotools.data.vpf.file
Class VPFFileStore

java.lang.Object
  extended byorg.geotools.data.AbstractDataStore
      extended byorg.geotools.data.vpf.file.VPFFileStore
All Implemented Interfaces:
DataStore

public class VPFFileStore
extends AbstractDataStore

A data store for VPF files. Any file can be retrieved from here. If you want joins (for example features with their geometries), you will have to look elsewhere. Hopefully some one will take advantage of this class to provide the full functionality.

Author:
Jeff Yutzler

Field Summary
 
Fields inherited from class org.geotools.data.AbstractDataStore
isWriteable, listenerManager, LOGGER
 
Constructor Summary
VPFFileStore()
          Default constructor.
 
Method Summary
protected  FeatureReader getFeatureReader(java.lang.String pathName)
          Subclass must implement.
 FeatureType getSchema(java.lang.String pathName)
          Retrive schema information for typeName
 java.lang.String[] getTypeNames()
          Convience method for retriving all the names from the Catalog Entires
 void reset()
          Closes all of the opoen files and removes them from the collection of open files.
 
Methods inherited from class org.geotools.data.AbstractDataStore
createFeatureWriter, createLockingManager, createMetadata, createSchema, getBounds, getCount, getFeatureReader, getFeatureReader, getFeatureSource, getFeatureWriter, 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
 

Constructor Detail

VPFFileStore

public VPFFileStore()
Default constructor. Nothing special

Method Detail

getTypeNames

public java.lang.String[] getTypeNames()
Description copied from class: AbstractDataStore
Convience method for retriving all the names from the Catalog Entires

Specified by:
getTypeNames in interface DataStore
Specified by:
getTypeNames in class AbstractDataStore

getSchema

public FeatureType getSchema(java.lang.String pathName)
                      throws java.io.IOException
Description copied from class: AbstractDataStore
Retrive schema information for typeName

Specified by:
getSchema in interface DataStore
Specified by:
getSchema in class AbstractDataStore
Throws:
java.io.IOException

getFeatureReader

protected FeatureReader getFeatureReader(java.lang.String pathName)
                                  throws java.io.IOException
Description copied from class: AbstractDataStore
Subclass must implement.

Specified by:
getFeatureReader in class AbstractDataStore
Parameters:
pathName -
Returns:
FeatureReader over contents of typeName
Throws:
java.io.IOException

reset

public void reset()
Closes all of the opoen files and removes them from the collection of open files.



Copyright © GeoTools. All Rights Reserved.