Package org.geotools.data
Class DefaultFIDReader
- Object
-
- DefaultFIDReader
-
-
Field Summary
Fields Modifier and Type Field Description protected StringBuffer
buffer
protected static String
CLOSE_MESG
protected int
index
-
Constructor Summary
Constructors Constructor Description DefaultFIDReader(String typeName)
DefaultFIDReader(SimpleFeatureType featureType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Release any resources associated with this readerboolean
hasNext()
Does another set of attributes exist in this reader?String
next()
Read the attribute at the given index.
-
-
-
Field Detail
-
CLOSE_MESG
protected static final String CLOSE_MESG
- See Also:
- Constant Field Values
-
index
protected int index
-
buffer
protected StringBuffer buffer
-
-
Constructor Detail
-
DefaultFIDReader
public DefaultFIDReader(String typeName)
-
DefaultFIDReader
public DefaultFIDReader(SimpleFeatureType featureType)
-
-
Method Detail
-
close
public void close()
Release any resources associated with this reader
-
hasNext
public boolean hasNext() throws IOException
Does another set of attributes exist in this reader?- Specified by:
hasNext
in interfaceFIDReader
- Returns:
true
if more attributes exist- Throws:
IOException
- If closed
-
next
public String next() throws IOException
Read the attribute at the given index.- Specified by:
next
in interfaceFIDReader
- Returns:
- Attribute at index
- Throws:
IOException
- If closed
-
-