Interface UTCTAIOffsetsLoader.Parser

All Known Implementing Classes:
AGILeapSecondFilesLoader.Parser, TAIUTCDatFilesLoader.Parser, UTCTAIHistoryFilesLoader.Parser
Enclosing interface:
UTCTAIOffsetsLoader

public static interface UTCTAIOffsetsLoader.Parser
Interface for parsing UTC-TAI offsets from a stream.
Since:
10.1
Author:
Evan Ward
  • Method Summary

    Modifier and Type
    Method
    Description
    parse(InputStream input, String name)
    Parse leap seconds from the input stream.
  • Method Details

    • parse

      List<OffsetModel> parse(InputStream input, String name) throws IOException
      Parse leap seconds from the input stream.
      Parameters:
      input - stream to parse.
      name - of the input stream to use in error messages.
      Returns:
      parsed UTC-TAI offsets.
      Throws:
      IOException - if input throws one during parsing.