Class AGILeapSecondFilesLoader.Parser

java.lang.Object
org.orekit.time.AGILeapSecondFilesLoader.Parser
All Implemented Interfaces:
UTCTAIOffsetsLoader.Parser
Enclosing class:
AGILeapSecondFilesLoader

public static class AGILeapSecondFilesLoader.Parser extends Object implements UTCTAIOffsetsLoader.Parser
Internal class performing the parsing.
  • Constructor Details

    • Parser

      public Parser()
      Simple constructor.
  • Method Details

    • parse

      public List<OffsetModel> parse(InputStream input, String name) throws IOException
      Load UTC-TAI offsets entries read from some file.

      The time steps are extracted from some LeapSecond.dat file. Since entries are stored in a SortedMap, they are chronologically sorted and only one entry remains for a given date.

      Specified by:
      parse in interface UTCTAIOffsetsLoader.Parser
      Parameters:
      input - data input stream
      name - name of the file (or zip entry)
      Returns:
      parsed UTC-TAI offsets.
      Throws:
      IOException - if data can't be read