Class WktFileImporter
java.lang.Object
org.openstreetmap.josm.gui.io.importexport.FileImporter
org.openstreetmap.josm.plugins.wkt.WktFileImporter
- All Implemented Interfaces:
java.lang.Comparable<FileImporter>
public class WktFileImporter extends FileImporter
Modified version of geojson plugin. Thanks to the geojson authors:
-
Field Summary
Fields Modifier and Type Field Description private static ExtensionFileFilterFILE_FILTER -
Constructor Summary
Constructors Constructor Description WktFileImporter()Constructs a new WKT File importer with an extension filter for .wkt and .txt -
Method Summary
Modifier and Type Method Description voidimportData(java.io.File file, ProgressMonitor progressMonitor)DataSetparseDataSet(java.lang.String source)Methods inherited from class org.openstreetmap.josm.gui.io.importexport.FileImporter
acceptFile, compareTo, getPriority, importData, importDataHandleExceptions, importDataHandleExceptions, isBatchImporter, isEnabled, setEnabled
-
Field Details
-
Constructor Details
-
WktFileImporter
public WktFileImporter()Constructs a new WKT File importer with an extension filter for .wkt and .txt
-
-
Method Details
-
importData
- Overrides:
importDatain classFileImporter
-
parseDataSet
public DataSet parseDataSet(java.lang.String source) throws java.io.IOException, IllegalDataException- Throws:
java.io.IOExceptionIllegalDataException
-