Package de.hybris.platform.impex.jalo
Class ImpExReader.ResultSetCSVReader
java.lang.Object
de.hybris.platform.util.CSVReader
de.hybris.platform.impex.jalo.ImpExReader.ResultSetCSVReader
- Enclosing class:
- ImpExReader
A
CSVReader extension for reading a SQL ResultSet as CSV. Transform each line of the
ResultSet into a CSV string. Used to access SQL data with the ImpExReader within
includeSQLData.-
Method Summary
Methods inherited from class de.hybris.platform.util.CSVReader
applyDecorators, clearAllCellDecorators, clearCellDecorator, closeQuietly, finished, getCellDecorator, getCommentOut, getCurrentLineNumber, getDecoratorMap, getFieldSeparator, getLine, getSourceLine, getTextSeparator, hasCellDecorators, isCommentedOut, isFinished, isMultiLineMode, isReading, isShowComments, markFinished, mustSkip, notifyNextLine, parse, parse, parse, parse, parseLine, readNextLine, setCellDecorator, setCommentOut, setFieldSeparator, setLinesToSkip, setMaxBufferLines, setMultiLineMode, setShowComments, setTextSeparator, trim
-
Method Details
-
close
Description copied from class:CSVReaderClose the reader. Should be always called if parsing is finished.- Overrides:
closein classCSVReader- Throws:
IOException- throws if error occurred
-
readSrcLineFromStream
Description copied from class:CSVReaderReads next line from stream. If stream has reached end,nullis returned and finished flag will be set.- Overrides:
readSrcLineFromStreamin classCSVReader- Returns:
- next line from stream or
null
-