|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SasReaderCallback
A callback interface for the SasReader that allows a data "target" to
receive data and give instructions as to the further reading of a sas7bdat
file.
| Method Summary | |
|---|---|
void |
column(int columnIndex,
String columnName,
String columnLabel,
SasColumnType columnType,
int columnLength)
Callback method that accepts a column discovered by the SasReader
. |
boolean |
readData()
Should the reader read the data/rows (or only columns?) |
boolean |
row(int rowNumber,
Object[] rowData)
Callback method that accepts an array of row data. |
| Method Detail |
|---|
void column(int columnIndex,
String columnName,
String columnLabel,
SasColumnType columnType,
int columnLength)
SasReader
.
columnIndex - the index (0-based) of the columncolumnName - the physical name of the columncolumnLabel - the logical label of the column (often more user-friendly than
name)columnType - the type of the columncolumnLength - the length of the columnboolean readData()
boolean row(int rowNumber,
Object[] rowData)
rowNumber - the row number (1 = first row)rowData - the row data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||