org.quickserver.util.xmlreader
Class ApplicationConfiguration
java.lang.Object
|
+--java.util.AbstractMap
|
+--java.util.HashMap
|
+--org.quickserver.util.xmlreader.ApplicationConfiguration
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class ApplicationConfiguration
- extends java.util.HashMap
This class encapsulate the Application Configuration.
The example xml is
<quickserver>
....
<application-configuration>
<property>
<property-name>FTP_ROOT</property-name>
<property-value>c:\</property-value>
</property>
<property>
<property-name>Server Name</property-name>
<property-value>My Server</property-value>
</property>
</application-configuration>
....
</quickserver>
- Since:
- 1.3.2
- Author:
- Akshathkumar Shetty
- See Also:
- Serialized Form
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
equals, hashCode |
ApplicationConfiguration
public ApplicationConfiguration()
addProperty
public void addProperty(Property property)
- Addes the
Property passed to the HashMap
findProperty
public Property findProperty(java.lang.String name)
- Finds if any
Property is present.
- Returns:
null if no Property was found.
toXML
public java.lang.String toXML(java.lang.String pad)
- Returns XML config of this class.
Copyright © 2003-2004 QuickServer.org