org.geotools.data.tiger
Class TigerDataStore

java.lang.Object
  extended byorg.geotools.data.AbstractDataStore
      extended byorg.geotools.data.tiger.TigerDataStore
All Implemented Interfaces:
DataStore

public class TigerDataStore
extends AbstractDataStore

Title: GeoTools2 Development

Description:

Copyright: Copyright (c) 2003

Company:

Version:
1.0
Author:
Julian J. Ray

Field Summary
protected  java.io.File directory
          DOCUMENT ME!
 
Fields inherited from class org.geotools.data.AbstractDataStore
isWriteable, listenerManager, LOGGER
 
Constructor Summary
TigerDataStore(java.io.File dir)
           
TigerDataStore(java.lang.String dirName)
          Creates a new TigerDataStore object.
 
Method Summary
protected  FeatureReader getFeatureReader(java.lang.String typeName)
          getFeatureReader
 FeatureType getSchema(java.lang.String typeName)
          getSchema
 java.lang.String[] getTypeNames()
          Returns a list of logical tiger 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
 

Field Detail

directory

protected java.io.File directory
DOCUMENT ME!

Constructor Detail

TigerDataStore

public TigerDataStore(java.lang.String dirName)
Creates a new TigerDataStore object.

Parameters:
dirName - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

TigerDataStore

public TigerDataStore(java.io.File dir)
Method Detail

getTypeNames

public java.lang.String[] getTypeNames()
Returns a list of logical tiger files. This routine searches for tiger Type1 (RT1) files in the data store directory and returns the file names. File search is case insensetive so RT1 and rt1 work equally well.

Specified by:
getTypeNames in interface DataStore
Specified by:
getTypeNames in class AbstractDataStore
Returns:
String[]

getSchema

public FeatureType getSchema(java.lang.String typeName)
                      throws java.io.IOException
getSchema

Specified by:
getSchema in interface DataStore
Specified by:
getSchema in class AbstractDataStore
Parameters:
typeName - String
Returns:
FeatureType
Throws:
java.io.IOException
DataSourceException - DOCUMENT ME!

getFeatureReader

protected FeatureReader getFeatureReader(java.lang.String typeName)
                                  throws java.io.IOException
getFeatureReader

Specified by:
getFeatureReader in class AbstractDataStore
Parameters:
typeName - String
Returns:
FeatureReader
Throws:
java.io.IOException


Copyright © GeoTools. All Rights Reserved.