Klasse HSQLAsciiReader


public class HSQLAsciiReader extends AbstractAsciiReader
Simple I/O and conversion methods for jFreeChart.
  • Konstruktordetails

    • HSQLAsciiReader

      public HSQLAsciiReader(File aSourceFile, org.jdom2.Element aConfigData, String aTabLen, String aSeperator, String aDefaultDateFormat, Connection aConnection, String aTableName, FWObservable aObservable)
      Parameter:
      aSourceFile -
      aConfigData -
      aTabLen -
      aSeperator -
      aDefaultDateFormat -
      aConnection -
      aTableName -
      aObservable -
      aIsTableCreated -
  • Methodendetails

    • isTableCreated

      public boolean isTableCreated()
      Gibt zurück:
      if Table was created
    • createTable

      public static void createTable(Connection aConnection, String aTableName, Vector<ColumnData> aColumnDatas, boolean aDropBeforeDelete)
      Creates new table in the database. The name of table depends on file from which will be the data loaded.
      Parameter:
      aConnection -
      aTableName -
      aColumnDatas -
      aDropBeforeDelete -
    • getCanonicalForm

      public static String getCanonicalForm(String aText)
      Parameter:
      aText -
      Gibt zurück:
      string which can be used for table name, column name, ... in a database based on passed attribute
    • processLineOfFile

      protected void processLineOfFile(String aOrientation, String aLine, int aRowIdx) throws Exception
      Angegeben von:
      processLineOfFile in Klasse AbstractAsciiReader
      Parameter:
      aOrientation -
      aLine -
      aRowIdx -
      Löst aus:
      Exception
      IOException