Java Doc for EnhProperties.java in  » Database-DBMS » Ozone-1.1 » org » ozoneDB » util » 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 » Ozone 1.1 » org.ozoneDB.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.util.Properties
   org.ozoneDB.util.EnhProperties

All known Subclasses:   org.ozoneDB.Setup,
EnhProperties
public class EnhProperties extends Properties (Code)
EnhProperties has methods to store/update the value of a property to handle such dynamic properties.

In addition the Properties EnhProperties can hold not only String properties but most of other primitive types and raw objects. Non-string properties are internaly stored as Strings.

Setup extends java.util.Properties. So the system properties can be used as defaults.
author:
   SMB
version:
   $Revision: 1.1 $Date: 2001/12/18 10:31:31 $



Field Summary
protected  EnhObservableobservable
     An Observable object that is responsible for this properties.

Constructor Summary
public  EnhProperties()
    
public  EnhProperties(Properties _defaults)
    

Method Summary
public  voidaddObserver(Observer _observer)
    
public  voidaddProperties(Properties properties, String keyPrefix)
    
public  booleanbooleanProperty(String _key, boolean _default)
    
public  booleanhasChanged()
    
public  intintProperty(String _key, int _default)
    
public  longlongProperty(String _key, long _default)
    
public  voidnotifyObservers()
    
public  voidprint(PrintStream out, String keyPrefix, String printPrefix)
    
public  Objectproperty(String _key, Object _default)
    
public  voidremoveObserver(Observer _observer)
    
public  voidsetBooleanProperty(String _key, boolean _val)
    
public  voidsetIntProperty(String _key, int _val)
    
public  voidsetLongProperty(String _key, long _val)
    
public  voidsetProperty(String _key, Object _val)
    
public synchronized  voidsetStringProperty(String _key, String _val)
    
public  StringstringProperty(String _key, String _default)
    
public  DxCollectionstringsProperty(String _key, String _default)
    

Field Detail
observable
protected EnhObservable observable(Code)
An Observable object that is responsible for this properties. Directly extending the class is not possible because it already extends Properties.




Constructor Detail
EnhProperties
public EnhProperties()(Code)



EnhProperties
public EnhProperties(Properties _defaults)(Code)




Method Detail
addObserver
public void addObserver(Observer _observer)(Code)



addProperties
public void addProperties(Properties properties, String keyPrefix)(Code)

Parameters:
  properties -
Parameters:
  keyPrefix -



booleanProperty
public boolean booleanProperty(String _key, boolean _default)(Code)

Parameters:
  _key -
Parameters:
  _default - The default value to use if no property is found.



hasChanged
public boolean hasChanged()(Code)



intProperty
public int intProperty(String _key, int _default)(Code)

Parameters:
  _key -
Parameters:
  _default - The default value to use if no property is found.



longProperty
public long longProperty(String _key, long _default)(Code)

Parameters:
  _key -
Parameters:
  _default - The default value to use if no property is found.



notifyObservers
public void notifyObservers()(Code)



print
public void print(PrintStream out, String keyPrefix, String printPrefix)(Code)

Parameters:
  keyPrefix -
Parameters:
  printPrefix -



property
public Object property(String _key, Object _default)(Code)

Parameters:
  _key -
Parameters:
  _default - The default value to use if no property is found.



removeObserver
public void removeObserver(Observer _observer)(Code)



setBooleanProperty
public void setBooleanProperty(String _key, boolean _val)(Code)

Parameters:
  _val -
Parameters:
  _key -



setIntProperty
public void setIntProperty(String _key, int _val)(Code)

Parameters:
  _val -
Parameters:
  _key -



setLongProperty
public void setLongProperty(String _key, long _val)(Code)

Parameters:
  _val -
Parameters:
  _key -



setProperty
public void setProperty(String _key, Object _val)(Code)

Parameters:
  _val -
Parameters:
  _key -



setStringProperty
public synchronized void setStringProperty(String _key, String _val)(Code)

Parameters:
  _val -
Parameters:
  _key -



stringProperty
public String stringProperty(String _key, String _default)(Code)

Parameters:
  _key -
Parameters:
  _default - The default value to use if no property is found.



stringsProperty
public DxCollection stringsProperty(String _key, String _default)(Code)

Parameters:
  _key -
Parameters:
  _default - The default value to use if no property is found.



Fields inherited from java.util.Properties
protected Properties defaults(Code)(Java Doc)

Methods inherited from java.util.Properties
public String getProperty(String key)(Code)(Java Doc)
public String getProperty(String key, String defaultValue)(Code)(Java Doc)
public void list(PrintStream out)(Code)(Java Doc)
public void list(PrintWriter out)(Code)(Java Doc)
public synchronized void load(Reader reader) throws IOException(Code)(Java Doc)
public synchronized void load(InputStream inStream) throws IOException(Code)(Java Doc)
public synchronized void loadFromXML(InputStream in) throws IOException, InvalidPropertiesFormatException(Code)(Java Doc)
public Enumeration propertyNames()(Code)(Java Doc)
public synchronized void save(OutputStream out, String comments)(Code)(Java Doc)
public synchronized Object setProperty(String key, String value)(Code)(Java Doc)
public void store(Writer writer, String comments) throws IOException(Code)(Java Doc)
public void store(OutputStream out, String comments) throws IOException(Code)(Java Doc)
public synchronized void storeToXML(OutputStream os, String comment) throws IOException(Code)(Java Doc)
public synchronized void storeToXML(OutputStream os, String comment, String encoding) throws IOException(Code)(Java Doc)
public Set<String> stringPropertyNames()(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.