Package org.orekit.time
Class TAIUTCDatFilesLoader.Parser
java.lang.Object
org.orekit.time.TAIUTCDatFilesLoader.Parser
- All Implemented Interfaces:
UTCTAIOffsetsLoader.Parser
- Enclosing class:
TAIUTCDatFilesLoader
public static class TAIUTCDatFilesLoader.Parser
extends Object
implements UTCTAIOffsetsLoader.Parser
Internal class performing the parsing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(InputStream input, String name) Load UTC-TAI offsets entries read from some file.
-
Constructor Details
-
Parser
public Parser()Simple constructor.
-
-
Method Details
-
parse
Load UTC-TAI offsets entries read from some file.The time steps are extracted from some
tai-utc.datfile. Since entries are stored in aSortedMap, they are chronologically sorted and only one entry remains for a given date.- Specified by:
parsein interfaceUTCTAIOffsetsLoader.Parser- Parameters:
input- data input streamname- name of the file (or zip entry)- Returns:
- parsed UTC-TAI offsets.
- Throws:
IOException- if data can't be read
-