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
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 Details

    • close

      public void close() throws IOException
      Description copied from class: CSVReader
      Close the reader. Should be always called if parsing is finished.
      Overrides:
      close in class CSVReader
      Throws:
      IOException - throws if error occurred
    • readSrcLineFromStream

      protected 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 class CSVReader
      Returns:
      next line from stream or null