Package org.geotools.data
Class DefaultFIDReader
- Object
-
- DefaultFIDReader
-
-
Field Summary
Fields Modifier and Type Field Description protected StringBufferbufferprotected static StringCLOSE_MESGprotected intindex
-
Constructor Summary
Constructors Constructor Description DefaultFIDReader(String typeName)DefaultFIDReader(SimpleFeatureType featureType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Release any resources associated with this readerbooleanhasNext()Does another set of attributes exist in this reader?Stringnext()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 IOExceptionDoes another set of attributes exist in this reader?- Specified by:
hasNextin interfaceFIDReader- Returns:
trueif more attributes exist- Throws:
IOException- If closed
-
next
public String next() throws IOException
Read the attribute at the given index.- Specified by:
nextin interfaceFIDReader- Returns:
- Attribute at index
- Throws:
IOException- If closed
-
-