Package org.orekit.files.sinex
Class AbstractSinexParser<T extends AbstractSinex,P extends ParseInfo<T>>
- java.lang.Object
-
- org.orekit.files.sinex.AbstractSinexParser<T,P>
-
- Type Parameters:
T
- type of the SINEX fileP
- type of the SINEX files parse info
- Direct Known Subclasses:
SinexBiasParser
,SinexParser
public abstract class AbstractSinexParser<T extends AbstractSinex,P extends ParseInfo<T>> extends Object
Base parser for Solution INdependent EXchange (SINEX) files.- Since:
- 13.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSinexParser(TimeScales timeScales)
Simple constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract P
buildParseInfo()
Build the container for parsing info.protected abstract LineParser<P>
firstLineParser()
Get parser for the first line.TimeScales
getTimeScales()
Get the time scales.T
parse(DataSource... sources)
Parse one or more SINEX files.
-
-
-
Constructor Detail
-
AbstractSinexParser
protected AbstractSinexParser(TimeScales timeScales)
Simple constructor.- Parameters:
timeScales
- time scales
-
-
Method Detail
-
parse
public T parse(DataSource... sources)
Parse one or more SINEX files.- Parameters:
sources
- sources providing the data to parse- Returns:
- parsed file combining all sources
-
firstLineParser
protected abstract LineParser<P> firstLineParser()
Get parser for the first line.- Returns:
- parser for the firsty line of the file
-
buildParseInfo
protected abstract P buildParseInfo()
Build the container for parsing info.- Returns:
- container for parsing info
-
getTimeScales
public TimeScales getTimeScales()
Get the time scales.- Returns:
- time scales
-
-