Package net.simplace.core.database
Klasse HSQLAsciiReader
java.lang.Object
net.simplace.core.io.AbstractDataReader
net.simplace.core.io.AbstractAsciiReader
net.simplace.core.database.HSQLAsciiReader
Simple I/O and conversion methods for
jFreeChart.
-
Feldübersicht
Von Klasse geerbte Felder net.simplace.core.io.AbstractAsciiReader
iDefaultDateFormat, iSeperator, iSourceFile, iTabLenVon Klasse geerbte Felder net.simplace.core.io.AbstractDataReader
iColumnsData, iConfigData, iObservable -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungHSQLAsciiReader(File aSourceFile, org.jdom2.Element aConfigData, String aTabLen, String aSeperator, String aDefaultDateFormat, Connection aConnection, String aTableName, FWObservable aObservable) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic voidcreateTable(Connection aConnection, String aTableName, Vector<ColumnData> aColumnDatas, boolean aDropBeforeDelete) Creates new table in the database.static StringgetCanonicalForm(String aText) booleanprotected voidprocessLineOfFile(String aOrientation, String aLine, int aRowIdx) Von Klasse geerbte Methoden net.simplace.core.io.AbstractAsciiReader
getStringParameter, getTitle, initColumnHeads, initTitle, readData, setTitleVon Klasse geerbte Methoden net.simplace.core.io.AbstractDataReader
getIntegerValue
-
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
- Parameter:
aText-- Gibt zurück:
- string which can be used for table name, column name, ... in a database based on passed attribute
-
processLineOfFile
- Angegeben von:
processLineOfFilein KlasseAbstractAsciiReader- Parameter:
aOrientation-aLine-aRowIdx-- Löst aus:
ExceptionIOException
-