org.hsqldb
Class HsqlDatabaseProperties

java.lang.Object
org.hsqldb.HsqlProperties
org.hsqldb.HsqlDatabaseProperties
- class HsqlDatabaseProperties
- extends HsqlProperties
Manages a .properties file for a database.
- Version:
- 1.7.0
|
Method Summary |
void |
close()
|
protected boolean |
isFileOpen()
check by trying to delete the properties file this will not work if
some application has the file open this is why the properties file
is kept open when running ;-) todo: check if this works in all
operating systems |
void |
load()
|
void |
save()
Method declaration |
| Methods inherited from class org.hsqldb.HsqlProperties |
addProperties, argArrayToProps, checkFileExists, getIntegerProperty, getProperty, getProperty, isPropertyTrue, isPropertyTrue, removeProperty, setFileName, setProperty, setProperty, setProperty, setPropertyIfNotExists |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
propsFileStream
private java.io.FileInputStream propsFileStream
HsqlDatabaseProperties
private HsqlDatabaseProperties()
HsqlDatabaseProperties
public HsqlDatabaseProperties(java.lang.String name)
close
public void close()
throws java.sql.SQLException
load
public void load()
throws java.sql.SQLException
- Overrides:
load in class HsqlProperties
save
public void save()
throws java.sql.SQLException
- Method declaration
- Overrides:
save in class HsqlProperties
isFileOpen
protected boolean isFileOpen()
throws java.sql.SQLException
- check by trying to delete the properties file this will not work if
some application has the file open this is why the properties file
is kept open when running ;-) todo: check if this works in all
operating systems