public class RtkLibImporter extends FileImporter
Modifier and Type | Field and Description |
---|---|
static ExtensionFileFilter |
FILE_FILTER
The RtkLib file filter (*.pos files).
|
filter
Constructor and Description |
---|
RtkLibImporter()
Constructs a new
RtkLibImporter . |
Modifier and Type | Method and Description |
---|---|
(package private) static RtkLibPosReader |
buildAndParse(java.io.InputStream fis) |
void |
importData(java.io.File file,
ProgressMonitor progressMonitor)
Needs to be implemented if isBatchImporter() returns false.
|
static GpxImporter.GpxImporterData |
loadLayers(java.io.InputStream is,
java.io.File associatedFile,
java.lang.String gpxLayerName,
java.lang.String markerLayerName)
Replies the new GPX and marker layers corresponding to the specified RTKLib file.
|
private static void |
showRtkLibInfobox(boolean success,
RtkLibPosReader r) |
acceptFile, compareTo, getPriority, importData, importDataHandleExceptions, importDataHandleExceptions, isBatchImporter, isEnabled, setEnabled
public static final ExtensionFileFilter FILE_FILTER
public RtkLibImporter()
RtkLibImporter
.public void importData(java.io.File file, ProgressMonitor progressMonitor) throws java.io.IOException
FileImporter
importData
in class FileImporter
file
- file to importprogressMonitor
- progress monitorjava.io.IOException
- if any I/O error occursprivate static void showRtkLibInfobox(boolean success, RtkLibPosReader r)
public static GpxImporter.GpxImporterData loadLayers(java.io.InputStream is, java.io.File associatedFile, java.lang.String gpxLayerName, java.lang.String markerLayerName) throws java.io.IOException
is
- input stream to RTKLib dataassociatedFile
- RTKLib filegpxLayerName
- The GPX layer namemarkerLayerName
- The marker layer namejava.io.IOException
- if an I/O error occursstatic RtkLibPosReader buildAndParse(java.io.InputStream fis) throws java.io.IOException
java.io.IOException