public class CSVFeatureReader extends Object implements org.geotools.data.FeatureReader
| Constructor and Description |
|---|
CSVFeatureReader(URL url,
String typeName,
String srs,
boolean checkColumnCount,
char seperator,
int column_x,
int column_y,
String encoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.opengis.feature.simple.SimpleFeatureType |
getFeatureType() |
boolean |
hasNext() |
org.opengis.feature.simple.SimpleFeature |
next() |
public CSVFeatureReader(URL url, String typeName, String srs, boolean checkColumnCount, char seperator, int column_x, int column_y, String encoding) throws IOException
IOExceptionpublic org.opengis.feature.simple.SimpleFeatureType getFeatureType()
getFeatureType in interface org.geotools.data.FeatureReaderpublic org.opengis.feature.simple.SimpleFeature next()
throws IOException,
org.geotools.feature.IllegalAttributeException,
NoSuchElementException
next in interface org.geotools.data.FeatureReaderIOExceptionorg.geotools.feature.IllegalAttributeExceptionNoSuchElementExceptionpublic boolean hasNext()
throws IOException
hasNext in interface org.geotools.data.FeatureReaderIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface org.geotools.data.FeatureReaderIOExceptionCopyright © 2016. All rights reserved.