| 
QuickServer v1.4.5  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractMap
java.util.HashMap
org.quickserver.util.xmlreader.ApplicationConfiguration
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>
| Constructor Summary | |
ApplicationConfiguration()
 | 
|
| Method Summary | |
 void | 
addProperty(Property property)
Addes the Property passed to the HashMap | 
 Property | 
findProperty(java.lang.String name)
Finds if any Property is present. | 
 java.lang.String | 
getPromptType()
Returns the PromptType  | 
 void | 
setPromptType(java.lang.String promptType)
Sets the PromptType.  | 
 java.lang.String | 
toXML(java.lang.String pad)
Returns XML config of this class.  | 
| 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 | 
| Constructor Detail | 
public ApplicationConfiguration()
| Method Detail | 
public void setPromptType(java.lang.String promptType)
gui | console
getPromptType()public java.lang.String getPromptType()
setPromptType(java.lang.String)public void addProperty(Property property)
Property passed to the HashMap
public Property findProperty(java.lang.String name)
Property is present.
null if no Property was found.public java.lang.String toXML(java.lang.String pad)
  | 
QuickServer v1.4.5  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||