Java Doc for AppProperties.java in  » IDE » tIDE » snow » utils » storage » 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 » IDE » tIDE » snow.utils.storage 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.util.Properties
   snow.utils.storage.AppProperties

AppProperties
public class AppProperties extends Properties (Code)
Customized properties (some getters/setters) should remain compatible with Properties. Is stored in XML format, in a file.



Constructor Summary
public  AppProperties()
    

Method Summary
public  voidcreateFromVectorRepresentation(List<Object> v, boolean clearRep)
    
public  List<String>getArrayProperty(String key, List<String> defaults)
    
public  List<String>getArrayProperty(String key)
     a modifiable list.
public  List<String>getArrayProperty(String key, String[] defaults)
    
public  booleangetBoolean(String key, boolean def)
    
public  ColorgetColor(String key, Color def)
    
public  doublegetDouble(String key, double def)
    
public  FontgetFont(String key, Font def)
    
public  intgetInteger(String key, int def)
    
public  longgetLong(String key, long def)
    
public  StringgetStringLCK(String key, String def)
    
public  StorageVectorgetVectorRepresentation()
    
final public  voidloadFromStoredVectorRepresentation(File file)
    
public  voidload_XML(File f)
    
public synchronized  voidsaveComponentLocationInINIFile(Component comp, String key)
    
public synchronized  voidsaveComponentSizeInINIFile(Component comp, String key)
    
public  voidsave_XML(File f)
    
public  voidsetArrayProperty(String key, List<String> values)
    
public  voidsetArrayProperty(String key, String[] values)
    
public  voidsetBoolean(String key, boolean val)
    
public  voidsetColor(String key, Color val)
    
public synchronized  voidsetComponentLocationFromINIFile(Component comp, String key, int defPosX, int defPosY)
    
public synchronized  voidsetComponentSizeFromINIFile(Component comp, String key, int defWidth, int defHeight, int defPosX, int defPosY)
    
public  voidsetDouble(String key, double val)
    
public  voidsetFont(String key, Font font)
    
public  voidsetInteger(String key, int val)
    
public  voidsetLong(String key, long val)
    
public  voidsetStringLCK(String key, String val)
    
final public  voidstoreToFileAsVectorRepresentation(File file)
    


Constructor Detail
AppProperties
public AppProperties()(Code)




Method Detail
createFromVectorRepresentation
public void createFromVectorRepresentation(List<Object> v, boolean clearRep)(Code)
clears and recreate from the passed vector



getArrayProperty
public List<String> getArrayProperty(String key, List<String> defaults)(Code)
a modifiable list.



getArrayProperty
public List<String> getArrayProperty(String key)(Code)
a modifiable list. Null if not found.



getArrayProperty
public List<String> getArrayProperty(String key, String[] defaults)(Code)
a modifiable list.



getBoolean
public boolean getBoolean(String key, boolean def)(Code)



getColor
public Color getColor(String key, Color def)(Code)



getDouble
public double getDouble(String key, double def)(Code)



getFont
public Font getFont(String key, Font def)(Code)



getInteger
public int getInteger(String key, int def)(Code)



getLong
public long getLong(String key, long def)(Code)



getStringLCK
public String getStringLCK(String key, String def)(Code)
lowercase key



getVectorRepresentation
public StorageVector getVectorRepresentation()(Code)



loadFromStoredVectorRepresentation
final public void loadFromStoredVectorRepresentation(File file)(Code)



load_XML
public void load_XML(File f)(Code)



saveComponentLocationInINIFile
public synchronized void saveComponentLocationInINIFile(Component comp, String key)(Code)
save the component location



saveComponentSizeInINIFile
public synchronized void saveComponentSizeInINIFile(Component comp, String key)(Code)
save the component size and location



save_XML
public void save_XML(File f)(Code)



setArrayProperty
public void setArrayProperty(String key, List<String> values)(Code)



setArrayProperty
public void setArrayProperty(String key, String[] values)(Code)



setBoolean
public void setBoolean(String key, boolean val)(Code)



setColor
public void setColor(String key, Color val)(Code)



setComponentLocationFromINIFile
public synchronized void setComponentLocationFromINIFile(Component comp, String key, int defPosX, int defPosY)(Code)
set the component location



setComponentSizeFromINIFile
public synchronized void setComponentSizeFromINIFile(Component comp, String key, int defWidth, int defHeight, int defPosX, int defPosY)(Code)
set the component size and location



setDouble
public void setDouble(String key, double val)(Code)



setFont
public void setFont(String key, Font font)(Code)



setInteger
public void setInteger(String key, int val)(Code)



setLong
public void setLong(String key, long val)(Code)



setStringLCK
public void setStringLCK(String key, String val)(Code)
this set the key



storeToFileAsVectorRepresentation
final public void storeToFileAsVectorRepresentation(File file)(Code)



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.