Java Doc for PropertyManager.java in  » Ajax » Laszlo-4.0.10 » org » openlaszlo » iv » flash » 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 » Ajax » Laszlo 4.0.10 » org.openlaszlo.iv.flash.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.openlaszlo.iv.flash.util.PropertyManager

PropertyManager
public class PropertyManager (Code)
Property manager.

Reads and writes properties from iv.property file. Caches most used properties as static variables
author:
   Dmitry Skavish



Field Summary
public static  StringdefaultEncoding
    
public static  StringfontPath
    
public static  StringmxLibraryFontID
    
public static  StringmxLibrarySymbolPrefix
    
public static  booleanshowErrorsInline
    
public static  booleansymCaseSensitive
    
public static  booleantextMMStyle
    
public static  booleanvarCaseSensitive
    


Method Summary
public static  booleangetBoolProperty(String property, boolean def)
     Gets boolean property by name.
public static  doublegetDoubleProperty(String property, double def)
     Gets double property by name.
public static  CacheSettingsgetFontCacheSettings()
     Returns font cache settings.
public static  intgetIntProperty(String property, int def)
     Gets integer property by name.
public static  longgetLongProperty(String property, long def)
     Gets long property by name.
public static  CacheSettingsgetMediaCacheSettings()
     Returns media cache settings.
public static  ObjectgetObjectProperty(Object key)
    
public static  StringgetProperty(String name, String def)
     Gets property by name.
public static  StringgetProperty(String name)
     Gets property by name.
public static  CacheSettingsgetRequestCacheSettings()
     Returns request cache settings.
public static  CacheSettingsgetXMLCacheSettings()
     Returns xml cache settings.
public static  voidinit(String propFileName)
     Initalizes manager.
public static  voidinit()
     Initalizes manager.
public static  voidload(String propFileName)
     Loads iv.properties file and caches "cache" related properties.
public static  voidsave(String propFileName)
     Saves properties to iv.properties file.
public static  voidsetObjectProperty(Object key, Object value)
    
public static  voidsetProperty(String name, String value)
     Sets property by name.
public static  voidsetProperty(String name, int value)
     Sets integer property by name.
public static  voidsetProperty(String name, boolean value)
     Sets boolean property by name.
public static  voidsetProperty(String name, double value)
     Sets double property by name.

Field Detail
defaultEncoding
public static String defaultEncoding(Code)
Property org.openlaszlo.iv.flash.defaultEncoding



fontPath
public static String fontPath(Code)
Property org.openlaszlo.iv.flash.fontPath



mxLibraryFontID
public static String mxLibraryFontID(Code)
Property org.openlaszlo.iv.flash.mxLibraryFontID



mxLibrarySymbolPrefix
public static String mxLibrarySymbolPrefix(Code)
Property org.openlaszlo.iv.flash.mxLibrarySymbolPrefix



showErrorsInline
public static boolean showErrorsInline(Code)
Property org.openlaszlo.iv.flash.showErrorsInline



symCaseSensitive
public static boolean symCaseSensitive(Code)
Property org.openlaszlo.iv.flash.symCaseSensitive



textMMStyle
public static boolean textMMStyle(Code)
Property org.openlaszlo.iv.flash.textBoundsMMStyle



varCaseSensitive
public static boolean varCaseSensitive(Code)
Property org.openlaszlo.iv.flash.varCaseSensitive





Method Detail
getBoolProperty
public static boolean getBoolProperty(String property, boolean def)(Code)
Gets boolean property by name.
Parameters:
  name - name of the property
Parameters:
  def - default value to be returned if there is no such property value of the property or provided default value



getDoubleProperty
public static double getDoubleProperty(String property, double def)(Code)
Gets double property by name.
Parameters:
  name - name of the property
Parameters:
  def - default value to be returned if there is no such property value of the property or provided default value



getFontCacheSettings
public static CacheSettings getFontCacheSettings()(Code)
Returns font cache settings. font cache settings



getIntProperty
public static int getIntProperty(String property, int def)(Code)
Gets integer property by name.
Parameters:
  name - name of the property
Parameters:
  def - default value to be returned if there is no such property value of the property or provided default value



getLongProperty
public static long getLongProperty(String property, long def)(Code)
Gets long property by name.
Parameters:
  name - name of the property
Parameters:
  def - default value to be returned if there is no such property value of the property or provided default value



getMediaCacheSettings
public static CacheSettings getMediaCacheSettings()(Code)
Returns media cache settings. media cache settings



getObjectProperty
public static Object getObjectProperty(Object key)(Code)



getProperty
public static String getProperty(String name, String def)(Code)
Gets property by name.
Parameters:
  name - name of the property
Parameters:
  def - default value to be returned if there is no such property value of the property or provided default value



getProperty
public static String getProperty(String name)(Code)
Gets property by name.
Parameters:
  name - name of the property value of the property or null



getRequestCacheSettings
public static CacheSettings getRequestCacheSettings()(Code)
Returns request cache settings. request cache settings



getXMLCacheSettings
public static CacheSettings getXMLCacheSettings()(Code)
Returns xml cache settings. xml cache settings



init
public static void init(String propFileName)(Code)
Initalizes manager.

Reads and caches all the properties
Parameters:
  propFileName - iv.properties file name - can be absolute name




init
public static void init()(Code)
Initalizes manager.

Reads and caches all the properties




load
public static void load(String propFileName)(Code)
Loads iv.properties file and caches "cache" related properties.



save
public static void save(String propFileName) throws IOException(Code)
Saves properties to iv.properties file.
exception:
  IOException -



setObjectProperty
public static void setObjectProperty(Object key, Object value)(Code)



setProperty
public static void setProperty(String name, String value)(Code)
Sets property by name.
Parameters:
  name - name of the property
Parameters:
  value - value of the property



setProperty
public static void setProperty(String name, int value)(Code)
Sets integer property by name.
Parameters:
  name - name of the property
Parameters:
  value - value of the property



setProperty
public static void setProperty(String name, boolean value)(Code)
Sets boolean property by name.
Parameters:
  name - name of the property
Parameters:
  value - value of the property



setProperty
public static void setProperty(String name, double value)(Code)
Sets double property by name.
Parameters:
  name - name of the property
Parameters:
  value - value of the property



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.