Class GpxTracksSessionImporter
java.lang.Object
org.openstreetmap.josm.io.session.GpxTracksSessionImporter
- All Implemented Interfaces:
SessionLayerImporter
- Direct Known Subclasses:
GpxRoutesSessionImporter
Session exporter for
GpxLayer.- Since:
- 5501
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LayergetLayer(GpxImporter.GpxImporterData importData) load(Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor) Load the layer from xml meta-data.
-
Constructor Details
-
GpxTracksSessionImporter
public GpxTracksSessionImporter()
-
-
Method Details
-
load
public Layer load(Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor) throws IOException, IllegalDataException Description copied from interface:SessionLayerImporterLoad the layer from xml meta-data.- Specified by:
loadin interfaceSessionLayerImporter- Parameters:
elem- XML elementsupport- support class providing import utilitiesprogressMonitor- progress monitor- Returns:
- the resulting layer
- Throws:
IOException- if any I/O error occursIllegalDataException- if invalid data is read
-
getLayer
-