org.openstreetmap.josm.io
Class GpxImporter

java.lang.Object
  extended by org.openstreetmap.josm.io.FileImporter
      extended by org.openstreetmap.josm.io.GpxImporter
All Implemented Interfaces:
java.lang.Comparable<FileImporter>, MapView.LayerChangeListener

public class GpxImporter
extends FileImporter


Nested Class Summary
protected static class GpxImporter.GpxImporterData
           
 
Field Summary
static ExtensionFileFilter FILE_FILTER
           
 
Fields inherited from class org.openstreetmap.josm.io.FileImporter
filter
 
Constructor Summary
GpxImporter()
           
 
Method Summary
 void importData(java.io.File file, ProgressMonitor progressMonitor)
          Needs to be implemented if isBatchImporter() returns false.
 GpxImporter.GpxImporterData loadLayers(java.io.InputStream is, java.io.File associatedFile, java.lang.String gpxLayerName, java.lang.String markerLayerName, ProgressMonitor progressMonitor)
           
 
Methods inherited from class org.openstreetmap.josm.io.FileImporter
acceptFile, activeLayerChange, compareTo, getBZip2InputStream, getGZipInputStream, getPriority, importData, importDataHandleExceptions, importDataHandleExceptions, isBatchImporter, isEnabled, layerAdded, layerRemoved, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_FILTER

public static final ExtensionFileFilter FILE_FILTER
Constructor Detail

GpxImporter

public GpxImporter()
Method Detail

importData

public void importData(java.io.File file,
                       ProgressMonitor progressMonitor)
                throws java.io.IOException
Description copied from class: FileImporter
Needs to be implemented if isBatchImporter() returns false.

Overrides:
importData in class FileImporter
Throws:
java.io.IOException

loadLayers

public GpxImporter.GpxImporterData loadLayers(java.io.InputStream is,
                                              java.io.File associatedFile,
                                              java.lang.String gpxLayerName,
                                              java.lang.String markerLayerName,
                                              ProgressMonitor progressMonitor)
                                       throws java.io.IOException
Throws:
java.io.IOException


JOSM