Class JXLWorkbook2DBProcessor


public class JXLWorkbook2DBProcessor extends HSSFWorkbook2DBProcessor
This processor reads an XLS document into a JXL workbook (JExcelApi) object. The configuration is the same as HSSFWorkbook2DBProcessor.
Author:
Martin Schmitz
  • Field Details

  • Constructor Details

    • JXLWorkbook2DBProcessor

      public JXLWorkbook2DBProcessor()
  • Method Details

    • process

      protected boolean process() throws PipeLineException
      Description copied from class: FWProcessor
      Must be overridden to implement concrete pipe procedure.
      Overrides:
      process in class HSSFWorkbook2DBProcessor
      Returns:
      success
      Throws:
      PipeLineException
    • prepareInsertStatement

      protected PreparedStatement prepareInsertStatement(Connection aConnection, String aTableName, int aColCount) throws SQLException
      Prepares a SQL statement "INSERT INTO ... VALUES (?, ?, ?, ...);" with a wildcard for each column.
      Parameters:
      aConnection - connection to use
      aTableName - table name
      aColCount - count of columns the value wildcards are prepared for
      Returns:
      Throws:
      SQLException