|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataSink
Interface for objects that can received events containing data parsed from some source
| Method Summary | |
|---|---|
void |
dataParsed(java.lang.Object xValue,
java.lang.Object[] yValues,
int lineNumber)
Provides the data from a line of tabular data that has been parsed from some source. |
void |
headerParsed(java.lang.String[] headers)
Provides a column header for tabular data that has been parsed from some source |
void |
parsingFinished()
Advice that parsing of the source has been completed |
| Method Detail |
|---|
void headerParsed(java.lang.String[] headers)
throws InvalidDataException
headers - String headers for each column of interest (elements may be an empty string, but not null).
Note that there should be as many headers as there are yValues in dataParsed()
InvalidDataException
void dataParsed(java.lang.Object xValue,
java.lang.Object[] yValues,
int lineNumber)
throws InvalidDataException
xValue - The X axis value for the data (often a date/time).yValues - An array of size (headers.length - 1)lineNumber - The 1-based line number for this line in the data source
InvalidDataExceptionvoid parsingFinished()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||