org.geotools.data.tiger
Class TigerFeatureReader

java.lang.Object
  extended byorg.geotools.data.tiger.TigerFeatureReader
All Implemented Interfaces:
FeatureReader

public class TigerFeatureReader
extends java.lang.Object
implements FeatureReader

Title: GeoTools2 Development

Description:

Copyright: Copyright (c) 2003

Company:

Version:
1.0
Author:
Julian J. Ray

Constructor Summary
TigerFeatureReader(java.io.File dir, java.lang.String typeName)
          Creates a new TigerFeatureReader object.
 
Method Summary
 void close()
          close
 FeatureType getFeatureType()
          getFeatureType
 boolean hasNext()
          hasNext
 Feature next()
          next
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TigerFeatureReader

public TigerFeatureReader(java.io.File dir,
                          java.lang.String typeName)
                   throws java.io.IOException
Creates a new TigerFeatureReader object.

Parameters:
dir - DOCUMENT ME!
typeName - DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!
Method Detail

getFeatureType

public FeatureType getFeatureType()
getFeatureType

Specified by:
getFeatureType in interface FeatureReader
Returns:
FeatureType

next

public Feature next()
             throws java.io.IOException,
                    IllegalAttributeException,
                    java.util.NoSuchElementException
next

Specified by:
next in interface FeatureReader
Returns:
Feature
Throws:
java.io.IOException
IllegalAttributeException
java.util.NoSuchElementException

hasNext

public boolean hasNext()
                throws java.io.IOException
hasNext

Specified by:
hasNext in interface FeatureReader
Returns:
boolean
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
close

Specified by:
close in interface FeatureReader
Throws:
java.io.IOException


Copyright © GeoTools. All Rights Reserved.