Package org.orekit.data
Class SimpleTimeStampedTableParser<T extends TimeStamped>
- java.lang.Object
-
- org.orekit.data.SimpleTimeStampedTableParser<T>
-
- 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 containingtime stamped
data.- Since:
- 6.1
- Author:
- Luc Maisonobe
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SimpleTimeStampedTableParser.RowConverter<S extends TimeStamped>
Interface for converting a table row into time-stamped data.
-
Constructor Summary
Constructors Constructor Description SimpleTimeStampedTableParser(int columns, SimpleTimeStampedTableParser.RowConverter<T> converter)
Simple constructor.
-
-
-
Constructor Detail
-
SimpleTimeStampedTableParser
public SimpleTimeStampedTableParser(int columns, SimpleTimeStampedTableParser.RowConverter<T> converter)
Simple constructor.- Parameters:
columns
- number of columnsconverter
- converter for rows
-
-
Method Detail
-
parse
public List<T> parse(InputStream stream, String name)
Parse a stream.- Parameters:
stream
- stream containing the tablename
- name of the resource file (for error messages only)- Returns:
- parsed table
-
-