public class NMEAImporter extends FileImporter
| Modifier and Type | Field and Description |
|---|---|
static ExtensionFileFilter |
FILE_FILTER
The NMEA file filter (*.nmea *.nme *.nma *.log *.txt files).
|
filter| Constructor and Description |
|---|
NMEAImporter()
Constructs a new
NMEAImporter. |
| Modifier and Type | Method and Description |
|---|---|
(package private) static NmeaReader |
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 NMEA file.
|
private static void |
showNmeaInfobox(boolean success,
NmeaReader r) |
acceptFile, compareTo, getPriority, importData, importDataHandleExceptions, importDataHandleExceptions, isBatchImporter, isEnabled, setEnabledpublic static final ExtensionFileFilter FILE_FILTER
public NMEAImporter()
NMEAImporter.public void importData(java.io.File file, ProgressMonitor progressMonitor) throws java.io.IOException
FileImporterimportData in class FileImporterfile - file to importprogressMonitor - progress monitorjava.io.IOException - if any I/O error occursprivate static void showNmeaInfobox(boolean success, NmeaReader 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 NMEA 0183 dataassociatedFile - NMEA filegpxLayerName - The GPX layer namemarkerLayerName - The marker layer namejava.io.IOException - if an I/O error occursstatic NmeaReader buildAndParse(java.io.InputStream fis) throws java.io.IOException
java.io.IOException