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
ACSVReader
extension for reading a SQLResultSet
as CSV. Transform each line of theResultSet
into a CSV string. Used to access SQL data with theImpExReader
withinincludeSQLData
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Close the reader.protected java.lang.String
readSrcLineFromStream()
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.IOException
Description copied from class:CSVReader
Close the reader. Should be always called if parsing is finished.
-
readSrcLineFromStream
protected java.lang.String readSrcLineFromStream()
Description copied from class:CSVReader
Reads next line from stream. If stream has reached end,null
is returned and finished flag will be set.- Overrides:
readSrcLineFromStream
in classCSVReader
- Returns:
- next line from stream or
null
-
-