org.geotools.data.property
Class PropertyFeatureReader

java.lang.Object
  extended by org.geotools.data.property.PropertyFeatureReader
All Implemented Interfaces:
FeatureReader<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>

public class PropertyFeatureReader
extends java.lang.Object
implements FeatureReader<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>

DOCUMENT ME!

Version:
$Id
Author:
jgarnett

Constructor Summary
PropertyFeatureReader(java.io.File directory, java.lang.String typeName)
          Creates a new PropertyFeatureReader object.
 
Method Summary
 void close()
          DOCUMENT ME!
 org.opengis.feature.simple.SimpleFeatureType getFeatureType()
          DOCUMENT ME!
 boolean hasNext()
          DOCUMENT ME!
 org.opengis.feature.simple.SimpleFeature next()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyFeatureReader

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

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

getFeatureType

public org.opengis.feature.simple.SimpleFeatureType getFeatureType()
DOCUMENT ME!

Specified by:
getFeatureType in interface FeatureReader<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>
Returns:
DOCUMENT ME!

next

public org.opengis.feature.simple.SimpleFeature next()
                                              throws java.io.IOException,
                                                     IllegalAttributeException,
                                                     java.util.NoSuchElementException
DOCUMENT ME!

Specified by:
next in interface FeatureReader<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>
Returns:
DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!
IllegalAttributeException - DOCUMENT ME!
java.util.NoSuchElementException - DOCUMENT ME!

hasNext

public boolean hasNext()
                throws java.io.IOException
DOCUMENT ME!

Specified by:
hasNext in interface FeatureReader<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>
Returns:
DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!

close

public void close()
           throws java.io.IOException
DOCUMENT ME!

Specified by:
close in interface FeatureReader<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>
Throws:
java.io.IOException - DOCUMENT ME!


Copyright © 1996-2010 Geotools. All Rights Reserved.