|
XNGR XML Browser | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xngr.XProperties
The class that can be used by the service to set properties.
A fixed set of properties are already set by the eXchaNGeR application,
"service.home", the home/installation directory of the
service.
The following properties are the same as defined in the
service.xml file. "service.version", the version
of the service. "service.author", the author of the
service. "service.copyright", the copyright information
for the service. "service.description", the service
description. "service.reference", the service
reference, normally a URL. "service.title", the service
title.
| Constructor Summary | |
XProperties()
Creates an empty properties list. |
|
XProperties(String[][] properties)
Creates a properties list with initial property values. |
|
| Method Summary | |
String |
get(String key)
Gets a property for a specific key. |
String[][] |
getProperties()
Returns all the properties as an array of key value pairs. |
void |
put(String key,
String value)
Sets a property for a specific key. |
void |
setProperties(String[][] props)
Sets all the properties as an array of key, value pairs. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XProperties()
public XProperties(String[][] properties)
properties - a list of properties.| Method Detail |
public String get(String key)
key - the key for the property.
public void put(String key,
String value)
key - the key for the property.value - the value of the property.public void setProperties(String[][] props)
props - the array of key value pairs.public String[][] getProperties()
|
XNGR XML Browser | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||