Class SimpleTimeStampedTableParser<T extends TimeStamped>

  • Type Parameters:
    T - the type of time stamped data (i.e. parsed table rows)

    public class SimpleTimeStampedTableParser<T extends TimeStamped>
    extends Object
    Parser for simple tables containing time stamped data.
    Since:
    6.1
    Author:
    Luc Maisonobe
    • Constructor Detail

      • SimpleTimeStampedTableParser

        public SimpleTimeStampedTableParser​(int columns,
                                            SimpleTimeStampedTableParser.RowConverter<T> converter)
        Simple constructor.
        Parameters:
        columns - number of columns
        converter - converter for rows
    • Method Detail

      • parse

        public List<T> parse​(InputStream stream,
                             String name)
        Parse a stream.
        Parameters:
        stream - stream containing the table
        name - name of the resource file (for error messages only)
        Returns:
        parsed table