public class CSVDataStore extends Object implements org.geotools.data.FileDataStore
| Constructor and Description |
|---|
CSVDataStore(URL url,
String srs,
boolean checkColumnCount,
char seperator,
int column_x,
int column_y,
String encoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
createSchema(org.opengis.feature.simple.SimpleFeatureType t) |
protected List<org.opengis.feature.type.Name> |
createTypeNames() |
void |
dispose() |
protected int |
getCount(org.geotools.data.Query query) |
org.geotools.data.FeatureReader |
getFeatureReader() |
org.geotools.data.FeatureReader<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> |
getFeatureReader(org.geotools.data.Query query,
org.geotools.data.Transaction t)
filtering is not supported.
|
org.geotools.data.FeatureReader |
getFeatureReader(String typeName) |
org.geotools.data.simple.SimpleFeatureSource |
getFeatureSource() |
org.geotools.data.simple.SimpleFeatureSource |
getFeatureSource(org.opengis.feature.type.Name name) |
org.geotools.data.simple.SimpleFeatureSource |
getFeatureSource(String string) |
org.geotools.data.FeatureWriter<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> |
getFeatureWriter(org.opengis.filter.Filter filter,
org.geotools.data.Transaction t) |
org.geotools.data.FeatureWriter<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> |
getFeatureWriter(String string,
org.opengis.filter.Filter filter,
org.geotools.data.Transaction t) |
org.geotools.data.FeatureWriter<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> |
getFeatureWriter(String string,
org.geotools.data.Transaction t) |
org.geotools.data.FeatureWriter<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> |
getFeatureWriter(org.geotools.data.Transaction t) |
org.geotools.data.FeatureWriter<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> |
getFeatureWriterAppend(String string,
org.geotools.data.Transaction t) |
org.geotools.data.FeatureWriter<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> |
getFeatureWriterAppend(org.geotools.data.Transaction t) |
org.geotools.data.ServiceInfo |
getInfo() |
org.geotools.data.LockingManager |
getLockingManager() |
List<org.opengis.feature.type.Name> |
getNames() |
org.opengis.feature.simple.SimpleFeatureType |
getSchema() |
org.opengis.feature.simple.SimpleFeatureType |
getSchema(org.opengis.feature.type.Name name) |
org.opengis.feature.simple.SimpleFeatureType |
getSchema(String typeName) |
String[] |
getTypeNames() |
void |
removeSchema(org.opengis.feature.type.Name name) |
void |
removeSchema(String string) |
void |
updateSchema(org.opengis.feature.type.Name name,
org.opengis.feature.simple.SimpleFeatureType t) |
void |
updateSchema(org.opengis.feature.simple.SimpleFeatureType sft) |
void |
updateSchema(String string,
org.opengis.feature.simple.SimpleFeatureType sft) |
public CSVDataStore(URL url, String srs, boolean checkColumnCount, char seperator, int column_x, int column_y, String encoding) throws IOException
IOExceptionpublic String[] getTypeNames() throws IOException
getTypeNames in interface org.geotools.data.DataStoreIOExceptionpublic List<org.opengis.feature.type.Name> getNames() throws IOException
getNames in interface org.geotools.data.DataAccess<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>IOExceptionpublic org.opengis.feature.simple.SimpleFeatureType getSchema(org.opengis.feature.type.Name name)
throws IOException
getSchema in interface org.geotools.data.DataAccess<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>IOExceptionpublic org.opengis.feature.simple.SimpleFeatureType getSchema(String typeName) throws IOException
getSchema in interface org.geotools.data.DataStoreIOExceptionpublic org.opengis.feature.simple.SimpleFeatureType getSchema()
throws IOException
getSchema in interface org.geotools.data.FileDataStoreIOExceptionpublic org.geotools.data.FeatureReader getFeatureReader(String typeName) throws IOException
IOExceptionpublic org.geotools.data.FeatureReader<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> getFeatureReader(org.geotools.data.Query query,
org.geotools.data.Transaction t)
throws IOException
getFeatureReader in interface org.geotools.data.DataStoreIOExceptionpublic org.geotools.data.FeatureReader getFeatureReader()
throws IOException
getFeatureReader in interface org.geotools.data.FileDataStoreIOExceptionprotected int getCount(org.geotools.data.Query query)
throws IOException
IOExceptionprotected List<org.opengis.feature.type.Name> createTypeNames() throws IOException
IOExceptionpublic org.geotools.data.simple.SimpleFeatureSource getFeatureSource()
throws IOException
getFeatureSource in interface org.geotools.data.FileDataStoreIOExceptionpublic org.geotools.data.simple.SimpleFeatureSource getFeatureSource(String string) throws IOException
getFeatureSource in interface org.geotools.data.DataStoreIOExceptionpublic org.geotools.data.simple.SimpleFeatureSource getFeatureSource(org.opengis.feature.type.Name name)
throws IOException
getFeatureSource in interface org.geotools.data.DataAccess<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>getFeatureSource in interface org.geotools.data.DataStoreIOExceptionpublic void createSchema(org.opengis.feature.simple.SimpleFeatureType t)
throws IOException
createSchema in interface org.geotools.data.DataAccess<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>IOExceptionpublic void updateSchema(org.opengis.feature.simple.SimpleFeatureType sft)
throws IOException
updateSchema in interface org.geotools.data.FileDataStoreIOExceptionpublic void updateSchema(org.opengis.feature.type.Name name,
org.opengis.feature.simple.SimpleFeatureType t)
throws IOException
updateSchema in interface org.geotools.data.DataAccess<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>IOExceptionpublic void updateSchema(String string, org.opengis.feature.simple.SimpleFeatureType sft) throws IOException
updateSchema in interface org.geotools.data.DataStoreIOExceptionpublic void removeSchema(org.opengis.feature.type.Name name)
throws IOException
removeSchema in interface org.geotools.data.DataAccess<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>IOExceptionpublic void removeSchema(String string) throws IOException
removeSchema in interface org.geotools.data.DataStoreIOExceptionpublic org.geotools.data.FeatureWriter<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> getFeatureWriter(org.opengis.filter.Filter filter,
org.geotools.data.Transaction t)
throws IOException
getFeatureWriter in interface org.geotools.data.FileDataStoreIOExceptionpublic org.geotools.data.FeatureWriter<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> getFeatureWriter(org.geotools.data.Transaction t)
throws IOException
getFeatureWriter in interface org.geotools.data.FileDataStoreIOExceptionpublic org.geotools.data.FeatureWriter<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> getFeatureWriterAppend(org.geotools.data.Transaction t)
throws IOException
getFeatureWriterAppend in interface org.geotools.data.FileDataStoreIOExceptionpublic org.geotools.data.FeatureWriter<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> getFeatureWriter(String string, org.opengis.filter.Filter filter, org.geotools.data.Transaction t) throws IOException
getFeatureWriter in interface org.geotools.data.DataStoreIOExceptionpublic org.geotools.data.FeatureWriter<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> getFeatureWriter(String string, org.geotools.data.Transaction t) throws IOException
getFeatureWriter in interface org.geotools.data.DataStoreIOExceptionpublic org.geotools.data.FeatureWriter<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> getFeatureWriterAppend(String string, org.geotools.data.Transaction t) throws IOException
getFeatureWriterAppend in interface org.geotools.data.DataStoreIOExceptionpublic org.geotools.data.LockingManager getLockingManager()
getLockingManager in interface org.geotools.data.DataStorepublic org.geotools.data.ServiceInfo getInfo()
getInfo in interface org.geotools.data.DataAccess<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>public void dispose()
dispose in interface org.geotools.data.DataAccess<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature>Copyright © 2018 B3Partners B.V.. All rights reserved.