public class SimpleFeatureWriter extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private org.geotools.data.FeatureWriter<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> |
writer |
| 构造器和说明 |
|---|
SimpleFeatureWriter() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.opengis.feature.simple.SimpleFeatureType |
mkSimpleFeatureType(String simpleFeatureTypeName,
String simpleFeatureTypeField)
used to make simpleFeatureType with specified Name and Fields.
|
void |
writeClose()
release resources after writing
|
void |
writeFeature(org.geotools.data.DataStore dataStore,
org.opengis.feature.simple.SimpleFeatureType sft,
org.opengis.feature.simple.SimpleFeature feature) |
private org.geotools.data.FeatureWriter<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> writer
public org.opengis.feature.simple.SimpleFeatureType mkSimpleFeatureType(String simpleFeatureTypeName, String simpleFeatureTypeField)
simpleFeatureTypeName - name of sft.simpleFeatureTypeField - fields of sft.public void writeFeature(org.geotools.data.DataStore dataStore,
org.opengis.feature.simple.SimpleFeatureType sft,
org.opengis.feature.simple.SimpleFeature feature)
throws IOException
dataStore - datastoresft - simpleFeatureTypefeature - simpleFeatureIOExceptionpublic void writeClose()
throws IOException
IOException - .Copyright © 2023 SikongSphere. All rights reserved.