|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jdbcimporter.parser.BinaryDelimiterParserDelegate
The BinaryDelimiterParserDelegate class implements the BinaryDelimiterParser interface by delegating calls to a DelimiterParser.
Constructor Summary | |
BinaryDelimiterParserDelegate(DelimiterParser delegate,
java.lang.String encoding)
Creates a BinaryDelimiterParserDelegate with the given DelimiterParser and input stream encoding. |
Method Summary | |
java.lang.Object |
getNextRow()
Returns the next row to be imported as an Object. |
java.lang.String |
getRowAsString(java.lang.Object nextRow)
Returns the String representation of the next row. |
ColumnValue[] |
getValues(java.lang.Object nextRow)
Returns the column values for the row specified. |
void |
setInputStream(java.io.InputStream input)
Sets the input source for the parser. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BinaryDelimiterParserDelegate(DelimiterParser delegate, java.lang.String encoding)
delegate
- The DelimiterParser that will parse the input streamencoding
- The encoding of the input stream (may be null)Method Detail |
public void setInputStream(java.io.InputStream input)
BinaryDelimiterParser
setInputStream
in interface BinaryDelimiterParser
BinaryDelimiterParser.setInputStream(java.io.InputStream)
public java.lang.Object getNextRow() throws java.io.IOException
BinaryDelimiterParser
getNextRow
in interface BinaryDelimiterParser
java.io.IOException
- if an error occurs while retrieving the next rowBinaryDelimiterParser.getNextRow()
public ColumnValue[] getValues(java.lang.Object nextRow) throws MalformedDataException
BinaryDelimiterParser
getValues
in interface BinaryDelimiterParser
MalformedDataException
- if the row is not formatted properlyBinaryDelimiterParser.getValues(Object)
public java.lang.String getRowAsString(java.lang.Object nextRow)
BinaryDelimiterParser
getRowAsString
in interface BinaryDelimiterParser
nextRow
- the row
BinaryDelimiterParser.getRowAsString(Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |