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 void
close()
boolean
hasNext()
SimpleFeature
next()
void
remove()
-
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:
hasNext
in interfaceIterator<SimpleFeature>
-
next
public SimpleFeature next()
- Specified by:
next
in interfaceIterator<SimpleFeature>
-
remove
public void remove()
- Specified by:
remove
in interfaceIterator<SimpleFeature>
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
-