|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The DelimiterParser interface defines a set of methods used to parse a file into a set of rows to be added to the database.
Method Summary | |
java.lang.String |
getNextRow()
Returns the next row to be imported as a String. |
ColumnValue[] |
getValues(java.lang.String nextRow)
Returns the column values for the row specified. |
void |
setReader(java.io.Reader input)
Sets the input source for the parser. |
Method Detail |
public void setReader(java.io.Reader input)
input
- the source of the data to import.public java.lang.String getNextRow() throws java.io.IOException
java.io.IOException
- if an error occurs while retrieving the next rowpublic ColumnValue[] getValues(java.lang.String nextRow) throws MalformedDataException
nextRow
- the row to be parsed into column values
MalformedDataException
- if the row is not formatted properly
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |