T
- the type of time stamped data (i.e. parsed table rows)public class SimpleTimeStampedTableParser<T extends TimeStamped> extends Object
time stamped
data.Modifier and Type | Class and Description |
---|---|
static interface |
SimpleTimeStampedTableParser.RowConverter<S extends TimeStamped>
Interface for converting a table row into time-stamped data.
|
Constructor and Description |
---|
SimpleTimeStampedTableParser(int columns,
SimpleTimeStampedTableParser.RowConverter<T> converter)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
List<T> |
parse(InputStream stream,
String name)
Parse a stream.
|
public SimpleTimeStampedTableParser(int columns, SimpleTimeStampedTableParser.RowConverter<T> converter)
columns
- number of columnsconverter
- converter for rowspublic List<T> parse(InputStream stream, String name)
stream
- stream containing the tablename
- name of the resource file (for error messages only)Copyright © 2002-2020 CS GROUP. All rights reserved.