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 |
---|---|
void |
importData(File file,
ProgressMonitor progressMonitor)
Needs to be implemented if isBatchImporter() returns false.
|
static GpxImporter.GpxImporterData |
loadLayers(InputStream is,
File associatedFile,
String gpxLayerName,
String markerLayerName) |
private void |
showNmeaInfobox(boolean success,
NmeaReader r) |
acceptFile, activeLayerChange, compareTo, getPriority, importData, importDataHandleExceptions, importDataHandleExceptions, isBatchImporter, isEnabled, layerAdded, layerRemoved, setEnabled
public static final ExtensionFileFilter FILE_FILTER
public NMEAImporter()
NMEAImporter
.public void importData(File file, ProgressMonitor progressMonitor) throws IOException
FileImporter
importData
in class FileImporter
file
- file to importprogressMonitor
- progress monitorIOException
- if any I/O error occursprivate void showNmeaInfobox(boolean success, NmeaReader r)
public static GpxImporter.GpxImporterData loadLayers(InputStream is, File associatedFile, String gpxLayerName, String markerLayerName) throws IOException
IOException