Class GpxDataHelper


  • public final class GpxDataHelper
    extends Object
    Helper class to select and load "GPX data" (GPX, NMEA, pos) files.
    Since:
    18042
    • Method Detail

      • chooseGpxDataFile

        public static File chooseGpxDataFile()
        Opens a file chooser to let the user select a "GPX data" file and returns it.
        Returns:
        the file chosen by the user, or null
      • loadGpxData

        public static GpxData loadGpxData​(File file)
        Loads GpxData from the given file and returns it. Shows message dialog in case of error.
        Parameters:
        file - gpx data file, must not be null
        Returns:
        GpxData file, or null in case of error