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
public static class ImpExReader.ResultSetCSVReader extends CSVReader
ACSVReaderextension for reading a SQLResultSetas CSV. Transform each line of theResultSetinto a CSV string. Used to access SQL data with theImpExReaderwithinincludeSQLData.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close the reader.protected java.lang.StringreadSrcLineFromStream()Reads next line from stream.-
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 Detail
-
close
public void close() throws java.io.IOExceptionDescription copied from class:CSVReaderClose the reader. Should be always called if parsing is finished.
-
readSrcLineFromStream
protected java.lang.String 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
-
-