Package org.orekit.files.sinex.orbex
Class OrbexParser
java.lang.Object
org.orekit.files.sinex.AbstractSinexParser<Orbex,OrbexParseInfo>
org.orekit.files.sinex.orbex.OrbexParser
Parser for Orbit Exchange Format (ORBEX) files.
- Since:
- 14.0
- Author:
- Luc Maisonobe
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOrbexParser(Function<? super String, ? extends Frame> frameBuilder, Function<? super String, ? extends TimeSystem> timeSystemBuilder, TimeScales timeScales) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected OrbexParseInfoBuild the container for parsing info.protected LineParser<OrbexParseInfo> Get parser for the first line.Methods inherited from class org.orekit.files.sinex.AbstractSinexParser
getTimeScales, parse
-
Constructor Details
-
OrbexParser
public OrbexParser(Function<? super String, ? extends Frame> frameBuilder, Function<? super String, ? extends TimeSystem> timeSystemBuilder, TimeScales timeScales) Simple constructor.- Parameters:
frameBuilder- is a function that can construct a frame from an orbex file coordinate system string. The coordinate system can be any 5 characters string e.g., ITR92, IGb08.timeSystemBuilder- mapper from string to time system (useful for user-defined time systems)timeScales- the set of time scales used for parsing dates
-
-
Method Details
-
firstLineParser
Get parser for the first line.- Specified by:
firstLineParserin classAbstractSinexParser<Orbex,OrbexParseInfo> - Returns:
- parser for the firsty line of the file
-
buildParseInfo
Build the container for parsing info.- Specified by:
buildParseInfoin classAbstractSinexParser<Orbex,OrbexParseInfo> - Returns:
- container for parsing info
-