org.geotools.data.tiger
Class TigerAttributeReader

java.lang.Object
  extended byorg.geotools.data.tiger.TigerAttributeReader
All Implemented Interfaces:
AttributeReader

public class TigerAttributeReader
extends java.lang.Object
implements AttributeReader

Title: GeoTools2 Development

Description:

Copyright: Copyright (c) 2003

Company:

Version:
1.0
Author:
Julian J. Ray

Constructor Summary
TigerAttributeReader(java.io.File file, java.lang.String namespace, java.lang.String typeName)
          TigerAttributeReader
 
Method Summary
 void close()
          close
 int getAttributeCount()
          getAttributeCount
 AttributeType getAttributeType(int index)
          getAttributeType
 java.lang.String getFeatureID()
          DOCUMENT ME!
 FeatureType getFeatureType()
          getFeatureType
 boolean hasNext()
          hasNext
 void next()
          next
 java.lang.Object read(int index)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TigerAttributeReader

public TigerAttributeReader(java.io.File file,
                            java.lang.String namespace,
                            java.lang.String typeName)
                     throws java.io.IOException
TigerAttributeReader

Parameters:
file - File
namespace - String
typeName - String
Throws:
java.io.IOException
DataSourceException - DOCUMENT ME!
Method Detail

getFeatureType

public FeatureType getFeatureType()
getFeatureType

Returns:
FeatureType

getAttributeCount

public int getAttributeCount()
getAttributeCount

Specified by:
getAttributeCount in interface AttributeReader
Returns:
int

getAttributeType

public AttributeType getAttributeType(int index)
                               throws java.lang.ArrayIndexOutOfBoundsException
getAttributeType

Specified by:
getAttributeType in interface AttributeReader
Parameters:
index - int
Returns:
AttributeType
Throws:
java.lang.ArrayIndexOutOfBoundsException

close

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

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

hasNext

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

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

next

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

Specified by:
next in interface AttributeReader
Throws:
java.io.IOException
java.util.NoSuchElementException - DOCUMENT ME!

read

public java.lang.Object read(int index)
                      throws java.io.IOException,
                             java.lang.ArrayIndexOutOfBoundsException
DOCUMENT ME!

Specified by:
read in interface AttributeReader
Parameters:
index - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!
java.lang.ArrayIndexOutOfBoundsException - DOCUMENT ME!

getFeatureID

public java.lang.String getFeatureID()
DOCUMENT ME!

Returns:
DOCUMENT ME!


Copyright © GeoTools. All Rights Reserved.