Interface IGpxReader

All Known Implementing Classes:
GpxReader, NmeaReader, OziWptReader, RtkLibPosReader

public interface IGpxReader
Abstraction of GpxReader, NmeaReader, OziWptReader and RtkLibPosReader
Since:
14010
  • Method Summary

    Modifier and Type
    Method
    Description
    Replies the GPX data.
    default int
    Returns the number of coordinates that have been successfully read.
    boolean
    parse(boolean tryToFinish)
    Parse the GPX data.
  • Method Details

    • parse

      boolean parse(boolean tryToFinish) throws SAXException, IOException
      Parse the GPX data.
      Parameters:
      tryToFinish - true, if the reader should return at least part of the GPX data in case of an error.
      Returns:
      true if file was properly parsed, false if there was error during parsing but some data were parsed anyway
      Throws:
      SAXException - if any SAX parsing error occurs
      IOException - if any I/O error occurs
      UnsupportedOperationException - if the format is not supported
    • getGpxData

      Replies the GPX data.
      Returns:
      The GPX data
    • getNumberOfCoordinates

      default int getNumberOfCoordinates()
      Returns the number of coordinates that have been successfully read.
      Returns:
      the number of coordinates that have been successfully read
      Since:
      18179