Package org.geotools.data.csv.parse
Class CSVSpecifiedWKTStrategy
- Object
-
- CSVStrategy
-
- CSVSpecifiedWKTStrategy
-
public class CSVSpecifiedWKTStrategy extends CSVStrategy
-
-
Field Summary
-
Fields inherited from class CSVStrategy
csvFileState, featureType
-
-
Constructor Summary
Constructors Constructor Description CSVSpecifiedWKTStrategy(CSVFileState csvFileState, String wktField)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SimpleFeatureType
buildFeatureType()
void
createSchema(SimpleFeatureType featureType)
SimpleFeature
decode(String recordId, String[] csvRecord)
String[]
encode(SimpleFeature feature)
-
Methods inherited from class CSVStrategy
createBuilder, createBuilder, findMostSpecificTypesFromData, getEscapechar, getFeatureType, getLineSeparator, getQuotechar, getSeparator, isQuoteAllFields, isWritePrj, iterator, setEscapechar, setLineSeparator, setQuoteAllFields, setQuotechar, setSeparator, setWritePrj
-
-
-
-
Constructor Detail
-
CSVSpecifiedWKTStrategy
public CSVSpecifiedWKTStrategy(CSVFileState csvFileState, String wktField)
-
-
Method Detail
-
buildFeatureType
protected SimpleFeatureType buildFeatureType()
- Specified by:
buildFeatureType
in classCSVStrategy
-
createSchema
public void createSchema(SimpleFeatureType featureType) throws IOException
- Specified by:
createSchema
in classCSVStrategy
- Throws:
IOException
-
encode
public String[] encode(SimpleFeature feature)
- Specified by:
encode
in classCSVStrategy
-
decode
public SimpleFeature decode(String recordId, String[] csvRecord)
- Specified by:
decode
in classCSVStrategy
-
-