Class 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 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.
        Overrides:
        close in class CSVReader
        Throws:
        java.io.IOException - throws if error occurred
      • 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 class CSVReader
        Returns:
        next line from stream or null