public class GeoJSONExporter extends FileExporter
| Modifier and Type | Field and Description |
|---|---|
static ExtensionFileFilter |
FILE_FILTER
File extension filter for .geojson files
|
filter| Constructor and Description |
|---|
GeoJSONExporter()
Constructs a new
GeoJSONExporter with WGS84 projection. |
| Modifier and Type | Method and Description |
|---|---|
void |
exportData(java.io.File file,
Layer layer)
Execute the data export.
|
acceptFile, activeOrEditLayerChanged, exportDataQuiet, isCanceled, isEnabled, setCanceled, setEnabledpublic static final ExtensionFileFilter FILE_FILTER
public GeoJSONExporter()
GeoJSONExporter with WGS84 projection.public void exportData(java.io.File file, Layer layer) throws java.io.IOException
FileExporterexportData in class FileExporterfile - target filelayer - the layer to exportjava.io.IOException - in case of an IO error