Java Doc for HsqlDatabaseProperties.java in » Database-DBMS » hsql » org » hsqldb » persist » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
Database DBMS
»
hsql
»
org.hsqldb.persist
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
org.hsqldb.persist
.HsqlProperties
org.hsqldb.persist
.HsqlDatabaseProperties
HsqlDatabaseProperties
public
class HsqlDatabaseProperties extends
HsqlProperties
(Code)
Manages a .properties file for a database.
author:
fredt@users
version:
1.8.0
since:
1.7.0
Field Summary
final
public
static int
FILES_MODIFIED
final
public
static int
FILES_NEW
final
public
static int
FILES_NOT_MODIFIED
final
public
static
String
FIRST_COMPATIBLE_VERSION
final
public
static int
MAJORMINORREVISION
final
public
static
String
PRODUCT_NAME
final
public
static
String
THIS_CACHE_VERSION
final
public
static
String
THIS_FULL_VERSION
final
public
static
String
THIS_VERSION
final
public
static
String
VERSION_STRING_1_7_0
final
public
static
String
VERSION_STRING_1_8_0
final
public
static
String
db_version
final
public
static
String
hsqldb_applog
final
public
static
String
hsqldb_cache_file_scale
final
public
static
String
hsqldb_cache_free_count_scale
final
public
static
String
hsqldb_cache_scale
final
public
static
String
hsqldb_cache_size_scale
final
public
static
String
hsqldb_cache_version
final
public
static
String
hsqldb_compatible_version
final
public
static
String
hsqldb_default_table_type
final
public
static
String
hsqldb_defrag_limit
final
public
static
String
hsqldb_log_size
final
public
static
String
hsqldb_max_nio_scale
final
public
static
String
hsqldb_nio_data_file
final
public
static
String
hsqldb_raf_buffer_scale
final
public
static
String
hsqldb_script_format
final
public
static int
indexAccess
final
public
static int
indexClass
final
public
static int
indexDefaultValue
final
public
static int
indexIsRange
final
public
static int
indexLimit
final
public
static int
indexName
final
public
static int
indexRangeHigh
final
public
static int
indexRangeLow
final
public
static int
indexValues
final
public
static
String
sql_tx_no_multi_write
final
public
static
String
textdb_all_quoted
final
public
static
String
textdb_allow_full_path
final
public
static
String
textdb_cache_scale
final
public
static
String
textdb_cache_size_scale
final
public
static
String
textdb_encoding
final
public
static
String
textdb_fs
final
public
static
String
textdb_ignore_first
final
public
static
String
textdb_lvs
final
public
static
String
textdb_quoted
final
public
static
String
textdb_vs
Constructor Summary
public
HsqlDatabaseProperties
(
Database
db)
Method Summary
void
filterLoadedProperties
()
public
int
getDBModified
()
public
int
getDefaultWriteDelay
()
public
Set
getUserDefinedPropertyData
()
public
boolean
isBoolean
(
String
key)
public
boolean
isIntegral
(
String
key)
public
boolean
isString
(
String
key)
public
boolean
isUserDefinedProperty
(
String
key)
public
boolean
load
()
Creates file with defaults if it didn't exist.
public
void
save
()
public
void
setDBModified
(int mode)
public
String
setDatabaseProperty
(
String
key,
String
value)
public
void
setDatabaseVariables
()
public
void
setURLProperties
(
HsqlProperties
p)
Field Detail
FILES_MODIFIED
final
public
static int FILES_MODIFIED
(Code)
FILES_NEW
final
public
static int FILES_NEW
(Code)
FILES_NOT_MODIFIED
final
public
static int FILES_NOT_MODIFIED
(Code)
FIRST_COMPATIBLE_VERSION
final
public
static
String
FIRST_COMPATIBLE_VERSION
(Code)
MAJORMINORREVISION
final
public
static int MAJORMINORREVISION
(Code)
PRODUCT_NAME
final
public
static
String
PRODUCT_NAME
(Code)
THIS_CACHE_VERSION
final
public
static
String
THIS_CACHE_VERSION
(Code)
THIS_FULL_VERSION
final
public
static
String
THIS_FULL_VERSION
(Code)
THIS_VERSION
final
public
static
String
THIS_VERSION
(Code)
VERSION_STRING_1_7_0
final
public
static
String
VERSION_STRING_1_7_0
(Code)
VERSION_STRING_1_8_0
final
public
static
String
VERSION_STRING_1_8_0
(Code)
db_version
final
public
static
String
db_version
(Code)
hsqldb_applog
final
public
static
String
hsqldb_applog
(Code)
hsqldb_cache_file_scale
final
public
static
String
hsqldb_cache_file_scale
(Code)
hsqldb_cache_free_count_scale
final
public
static
String
hsqldb_cache_free_count_scale
(Code)
hsqldb_cache_scale
final
public
static
String
hsqldb_cache_scale
(Code)
hsqldb_cache_size_scale
final
public
static
String
hsqldb_cache_size_scale
(Code)
hsqldb_cache_version
final
public
static
String
hsqldb_cache_version
(Code)
hsqldb_compatible_version
final
public
static
String
hsqldb_compatible_version
(Code)
hsqldb_default_table_type
final
public
static
String
hsqldb_default_table_type
(Code)
hsqldb_defrag_limit
final
public
static
String
hsqldb_defrag_limit
(Code)
hsqldb_log_size
final
public
static
String
hsqldb_log_size
(Code)
hsqldb_max_nio_scale
final
public
static
String
hsqldb_max_nio_scale
(Code)
hsqldb_nio_data_file
final
public
static
String
hsqldb_nio_data_file
(Code)
hsqldb_raf_buffer_scale
final
public
static
String
hsqldb_raf_buffer_scale
(Code)
hsqldb_script_format
final
public
static
String
hsqldb_script_format
(Code)
indexAccess
final
public
static int indexAccess
(Code)
indexClass
final
public
static int indexClass
(Code)
indexDefaultValue
final
public
static int indexDefaultValue
(Code)
indexIsRange
final
public
static int indexIsRange
(Code)
indexLimit
final
public
static int indexLimit
(Code)
indexName
final
public
static int indexName
(Code)
indexRangeHigh
final
public
static int indexRangeHigh
(Code)
indexRangeLow
final
public
static int indexRangeLow
(Code)
indexValues
final
public
static int indexValues
(Code)
sql_tx_no_multi_write
final
public
static
String
sql_tx_no_multi_write
(Code)
textdb_all_quoted
final
public
static
String
textdb_all_quoted
(Code)
textdb_allow_full_path
final
public
static
String
textdb_allow_full_path
(Code)
textdb_cache_scale
final
public
static
String
textdb_cache_scale
(Code)
textdb_cache_size_scale
final
public
static
String
textdb_cache_size_scale
(Code)
textdb_encoding
final
public
static
String
textdb_encoding
(Code)
textdb_fs
final
public
static
String
textdb_fs
(Code)
textdb_ignore_first
final
public
static
String
textdb_ignore_first
(Code)
textdb_lvs
final
public
static
String
textdb_lvs
(Code)
textdb_quoted
final
public
static
String
textdb_quoted
(Code)
textdb_vs
final
public
static
String
textdb_vs
(Code)
Constructor Detail
HsqlDatabaseProperties
public
HsqlDatabaseProperties(
Database
db)
(Code)
Method Detail
filterLoadedProperties
void filterLoadedProperties()
(Code)
getDBModified
public
int getDBModified() throws
HsqlException
(Code)
getDefaultWriteDelay
public
int getDefaultWriteDelay()
(Code)
getUserDefinedPropertyData
public
Set
getUserDefinedPropertyData()
(Code)
isBoolean
public
boolean isBoolean(
String
key)
(Code)
isIntegral
public
boolean isIntegral(
String
key)
(Code)
isString
public
boolean isString(
String
key)
(Code)
isUserDefinedProperty
public
boolean isUserDefinedProperty(
String
key)
(Code)
load
public
boolean load() throws
HsqlException
(Code)
Creates file with defaults if it didn't exist. Returns false if file already existed.
save
public
void save() throws
HsqlException
(Code)
setDBModified
public
void setDBModified(int mode) throws
HsqlException
(Code)
setDatabaseProperty
public
String
setDatabaseProperty(
String
key,
String
value) throws
HsqlException
(Code)
setDatabaseVariables
public
void setDatabaseVariables()
(Code)
Sets the database member variables after creating the properties object, openning a properties file, or changing a property with a command
setURLProperties
public
void setURLProperties(
HsqlProperties
p)
(Code)
overload file database properties with any passed on URL line do not store password etc
Fields inherited from
org.hsqldb.persist.HsqlProperties
final
public
static int NO_VALUE_FOR_KEY
(Code)
(Java Doc)
protected
int[] errorCodes
(Code)
(Java Doc)
protected
String
[] errorKeys
(Code)
(Java Doc)
protected
FileAccess
fa
(Code)
(Java Doc)
protected
String
fileName
(Code)
(Java Doc)
protected
boolean resource
(Code)
(Java Doc)
protected
Properties
stringProps
(Code)
(Java Doc)
Methods inherited from
org.hsqldb.persist.HsqlProperties
public
void addProperties(
Properties
props)
(Code)
(Java Doc)
public
void addProperties(
HsqlProperties
props)
(Code)
(Java Doc)
public
static
HsqlProperties
argArrayToProps(
String
[] arg,
String
type)
(Code)
(Java Doc)
public
boolean checkFileExists() throws
IOException
(Code)
(Java Doc)
public
static
HsqlProperties
delimitedArgPairsToProps(
String
s,
String
pairsep,
String
dlimiter,
String
type)
(Code)
(Java Doc)
public
String
[] getErrorKeys()
(Code)
(Java Doc)
public
int getIntegerProperty(
String
key, int defaultValue)
(Code)
(Java Doc)
public
int getIntegerProperty(
String
key, int defaultValue, int minimum, int maximum)
(Code)
(Java Doc)
public
int getIntegerProperty(
String
key, int defaultValue, int[] values)
(Code)
(Java Doc)
public
Properties
getProperties()
(Code)
(Java Doc)
public
String
getProperty(
String
key)
(Code)
(Java Doc)
public
String
getProperty(
String
key,
String
defaultValue)
(Code)
(Java Doc)
public
boolean isEmpty()
(Code)
(Java Doc)
public
boolean isPropertyTrue(
String
key)
(Code)
(Java Doc)
public
boolean isPropertyTrue(
String
key, boolean defaultValue)
(Code)
(Java Doc)
public
boolean load() throws
Exception
(Code)
(Java Doc)
public
Enumeration
propertyNames()
(Code)
(Java Doc)
public
void removeProperty(
String
key)
(Code)
(Java Doc)
public
void save() throws
Exception
(Code)
(Java Doc)
public
void save(
String
fileString) throws
Exception
(Code)
(Java Doc)
public
void setFileName(
String
name)
(Code)
(Java Doc)
public
String
setProperty(
String
key, int value)
(Code)
(Java Doc)
public
String
setProperty(
String
key, boolean value)
(Code)
(Java Doc)
public
String
setProperty(
String
key,
String
value)
(Code)
(Java Doc)
public
String
setPropertyIfNotExists(
String
key,
String
value)
(Code)
(Java Doc)
Methods inherited from
java.lang.Object
native
protected
Object
clone() throws
CloneNotSupportedException
(Code)
(Java Doc)
public
boolean equals(
Object
obj)
(Code)
(Java Doc)
protected
void finalize() throws
Throwable
(Code)
(Java Doc)
final native
public
Class
> getClass()
(Code)
(Java Doc)
native
public
int hashCode()
(Code)
(Java Doc)
final native
public
void notify()
(Code)
(Java Doc)
final native
public
void notifyAll()
(Code)
(Java Doc)
public
String
toString()
(Code)
(Java Doc)
final native
public
void wait(long timeout) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait(long timeout, int nanos) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait() throws
InterruptedException
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.