Documentation of 'org.hsqldb.persist.HsqlDatabaseProperties' Java class
HsqlDatabaseProperties
org.hsqldb.persist

Class HsqlDatabaseProperties



  • public class HsqlDatabaseProperties
    extends HsqlProperties
    Manages a .properties file for a database.
    Since:
    1.7.0
    • Constructor Detail

      • HsqlDatabaseProperties

        public HsqlDatabaseProperties(Database db)
    • Method Detail

      • supportsJavaMethod

        public static boolean supportsJavaMethod(java.lang.String name)
        If the system property "hsqldb.method_class_names" is not set, then static methods of all available Java classes can be accessed as functions in HSQLDB. If the property is set, then only the list of semicolon seperated method names becomes accessible. An empty property value means no class is accessible.

        A property value that ends with .* is treated as a wild card and allows access to all classe or method names formed by substitution of the asterisk.

        All methods of java.lang.Math are always accessible.

      • load

        public boolean load()
        Creates file with defaults if it didn't exist. Returns false if file already existed.
        Overrides:
        load in class HsqlProperties
      • setURLProperties

        public void setURLProperties(HsqlProperties p)
        overload file database properties with any passed on URL line do not store password etc
      • getUserDefinedPropertyData

        public Set getUserDefinedPropertyData()
      • isUserDefinedProperty

        public boolean isUserDefinedProperty(java.lang.String key)
      • isBoolean

        public boolean isBoolean(java.lang.String key)
      • isIntegral

        public boolean isIntegral(java.lang.String key)
      • isString

        public boolean isString(java.lang.String key)
      • setDatabaseProperty

        public boolean setDatabaseProperty(java.lang.String key,
                                           java.lang.String value)
      • getDefaultWriteDelay

        public int getDefaultWriteDelay()
      • getErrorLevel

        public int getErrorLevel()
      • divisionByZero

        public boolean divisionByZero()
      • setDBModified

        public void setDBModified(int mode)
      • getDBModified

        public int getDBModified()
      • getPropertyString

        public java.lang.String getPropertyString(java.lang.String key)
        for all types of property apart from system props
      • getStringProperty

        public java.lang.String getStringProperty(java.lang.String key)
      • getIntegerProperty

        public int getIntegerProperty(java.lang.String key)
      • getPropertiesMetaIterator

        public static Iterator getPropertiesMetaIterator()
      • getClientPropertiesAsString

        public java.lang.String getClientPropertiesAsString()
      • isVersion18

        public boolean isVersion18()

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.