Package org.geotools.data.csv.parse
Class CSVIterator
- Object
-
- CSVIterator
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterator<SimpleFeature>
public class CSVIterator extends Object implements Iterator<SimpleFeature>, Closeable
-
-
Constructor Summary
Constructors Constructor Description CSVIterator(CSVFileState csvFileState, CSVStrategy csvStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()SimpleFeaturenext()voidremove()-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
CSVIterator
public CSVIterator(CSVFileState csvFileState, CSVStrategy csvStrategy) throws IOException
- Throws:
IOException
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<SimpleFeature>
-
next
public SimpleFeature next()
- Specified by:
nextin interfaceIterator<SimpleFeature>
-
remove
public void remove()
- Specified by:
removein interfaceIterator<SimpleFeature>
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-