Class AbstractSinexParser<T extends AbstractSinex,​P extends ParseInfo<T>>

  • Type Parameters:
    T - type of the SINEX file
    P - 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 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