Package net.simplace.core.database
Klasse HSQLListReader
java.lang.Object
net.simplace.core.io.AbstractDataReader
net.simplace.core.io.AbstractListReader
net.simplace.core.database.HSQLListReader
- Autor:
- Andreas Enders Simple I/O and conversion methods for jFreeChart.
-
Feldübersicht
Von Klasse geerbte Felder net.simplace.core.io.AbstractListReader
iSourceVon Klasse geerbte Felder net.simplace.core.io.AbstractDataReader
iColumnsData, iConfigData, iObservable -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungHSQLListReader(Object aSource, org.jdom2.Element aConfigData, Connection aConnection, String aTableName, FWObservable aObservable) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidcreateTable(Vector<ColumnData> aColumnDatas) Creates new table in the database.static StringgetCanonicalForm(String aText) booleanprotected voidprocessList(String aOrientation) Von Klasse geerbte Methoden net.simplace.core.io.AbstractListReader
initColumnHeads, initTitle, readDataVon Klasse geerbte Methoden net.simplace.core.io.AbstractDataReader
getIntegerValue
-
Konstruktordetails
-
HSQLListReader
public HSQLListReader(Object aSource, org.jdom2.Element aConfigData, Connection aConnection, String aTableName, FWObservable aObservable) - Parameter:
aSource-aConfigData-aConnection-aTableName-aObservable-
-
-
Methodendetails
-
isTableCreated
public boolean isTableCreated()- Gibt zurück:
- true, if the Table was successfully created, otherwise returns false
-
createTable
Creates new table in the database. The name of table depends on file from which will be the data loaded.- Parameter:
aColumnDatas-- Löst aus:
SQLException
-
getCanonicalForm
- Parameter:
aText-- Gibt zurück:
- string which can be used for table name, column name, ... in a database based on passed attribute
-
processList
- Angegeben von:
processListin KlasseAbstractListReader- Parameter:
aOrientation-aColumnsIndices-aColumnHeads-aRowHeadStartCol-aRowHeadEndCol-tLine-rowIdx-- Löst aus:
ExceptionIOException
-