Class RtkLibImporter
- java.lang.Object
-
- org.openstreetmap.josm.gui.io.importexport.FileImporter
-
- org.openstreetmap.josm.gui.io.importexport.GpxLikeImporter<RtkLibPosReader>
-
- org.openstreetmap.josm.gui.io.importexport.RtkLibImporter
-
- All Implemented Interfaces:
java.lang.Comparable<FileImporter>
public class RtkLibImporter extends GpxLikeImporter<RtkLibPosReader>
File importer allowing to import RTKLib files (*.pos files).- Since:
- 15247
-
-
Field Summary
Fields Modifier and Type Field Description static ExtensionFileFilter
FILE_FILTER
The RtkLib file filter (*.pos files).-
Fields inherited from class org.openstreetmap.josm.gui.io.importexport.FileImporter
filter, options
-
-
Constructor Summary
Constructors Constructor Description RtkLibImporter()
Constructs a newRtkLibImporter
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GpxImporter.GpxImporterData
loadLayers(java.io.InputStream is, java.io.File associatedFile, java.lang.String gpxLayerName)
Replies the new GPX and marker layers corresponding to the specified RTKLib file.-
Methods inherited from class org.openstreetmap.josm.gui.io.importexport.GpxLikeImporter
appendInfoboxContent, buildAndParse, importData, showInfobox
-
Methods inherited from class org.openstreetmap.josm.gui.io.importexport.FileImporter
acceptFile, compareTo, getPriority, importData, importDataHandleExceptions, importDataHandleExceptions, isBatchImporter, isEnabled, setEnabled, setOptions
-
-
-
-
Field Detail
-
FILE_FILTER
public static final ExtensionFileFilter FILE_FILTER
The RtkLib file filter (*.pos files).
-
-
Constructor Detail
-
RtkLibImporter
public RtkLibImporter()
Constructs a newRtkLibImporter
.
-
-
Method Detail
-
loadLayers
public static GpxImporter.GpxImporterData loadLayers(java.io.InputStream is, java.io.File associatedFile, java.lang.String gpxLayerName) throws java.io.IOException
Replies the new GPX and marker layers corresponding to the specified RTKLib file.- Parameters:
is
- input stream to RTKLib dataassociatedFile
- RTKLib filegpxLayerName
- The GPX layer name- Returns:
- the new GPX and marker layers corresponding to the specified RTKLib file
- Throws:
java.io.IOException
- if an I/O error occurs
-
-