Class HSQLListReader


public class HSQLListReader extends AbstractListReader
Author:
Andreas Enders Simple I/O and conversion methods for jFreeChart.
  • Constructor Details

    • HSQLListReader

      public HSQLListReader(Object aSource, org.jdom2.Element aConfigData, Connection aConnection, String aTableName, FWObservable aObservable)
      Parameters:
      aSource -
      aConfigData -
      aConnection -
      aTableName -
      aObservable -
  • Method Details

    • isTableCreated

      public boolean isTableCreated()
      Returns:
      true, if the Table was successfully created, otherwise returns false
    • createTable

      protected void createTable(Vector<ColumnData> aColumnDatas) throws SQLException
      Creates new table in the database. The name of table depends on file from which will be the data loaded.
      Parameters:
      aColumnDatas -
      Throws:
      SQLException
    • getCanonicalForm

      public static String getCanonicalForm(String aText)
      Parameters:
      aText -
      Returns:
      string which can be used for table name, column name, ... in a database based on passed attribute
    • processList

      protected void processList(String aOrientation) throws Exception
      Specified by:
      processList in class AbstractListReader
      Parameters:
      aColumnsIndices -
      aColumnHeads -
      aRowHeadStartCol -
      aRowHeadEndCol -
      aOrientation -
      tLine -
      rowIdx -
      Throws:
      Exception
      IOException