|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for converting file line in data
DataTable| Method Summary | |
DataRow |
convertLine(DataBuffer line)
Converts a line of data into a DataRow object which contains each data item in individual cells. |
DataRow |
convertLine(DataBuffer line,
int length)
Converts a line of data into a DataRow object which contains each data item in individual cells. |
DataRow |
convertLine(java.lang.String line)
Converts a line of data into a DataRow object which contains each data item in individual cells. |
DataRow |
convertLine(java.lang.String line,
int length)
Converts a line of data into a DataRow object which contains each data item in individual cells. |
DataBuffer |
format(DataRow row)
Formats the data contained in the DataRow object into a line of data following the text file format. |
DataBuffer |
format(DataTableHeader header)
Formats the header item list object into a line of data following the text file format. |
| Method Detail |
public DataRow convertLine(DataBuffer line)
Converts a line of data into a DataRow object
which contains each data item in individual cells.
If the line of data does not terminate properly,
the method must return null and keep the currently parsed
row in memory for further processing. Only when termination
requirements have been met, the method should return a
DataRow object.
line - line containing data items.
DataRow object containing
data items in individual cells.
public DataRow convertLine(DataBuffer line,
int length)
Converts a line of data into a DataRow object
which contains each data item in individual cells.
If the line of data does not terminate properly,
the method must return null and keep the currently parsed
row in memory for further processing. Only when termination
requirements have been met, the method should return a
DataRow object.
line - line containing data items.length - the maximal size of the row
DataRow object containing
data items in individual cells.public DataRow convertLine(java.lang.String line)
Converts a line of data into a DataRow object
which contains each data item in individual cells.
If the line of data does not terminate properly,
the method must return null and keep the currently parsed
row in memory for further processing. Only when termination
requirements have been met, the method should return a
DataRow object.
line - line containing data items.
DataRow object containing
data items in individual cells.
public DataRow convertLine(java.lang.String line,
int length)
Converts a line of data into a DataRow object
which contains each data item in individual cells.
If the line of data does not terminate properly,
the method must return null and keep the currently parsed
row in memory for further processing. Only when termination
requirements have been met, the method should return a
DataRow object.
line - line containing data items.length - the maximal size of the row
DataRow object containing
data items in individual cells.public DataBuffer format(DataRow row)
row - a DataRow object containing data
public DataBuffer format(DataTableHeader header)
header - a DataTableHeader object containing header data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||