Package org.orekit.time
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 Summary
Constructors Constructor Description Parser()
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<OffsetModel>
parse(InputStream input, String name)
Load UTC-TAI offsets entries read from some file.
-
-
-
Method Detail
-
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 aSortedMap
, they are chronologically sorted and only one entry remains for a given date.- Specified by:
parse
in 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
-
-