internalInformationPort
Class Settings

java.lang.Object
  extended by internalInformationPort.Settings

final class Settings
extends java.lang.Object

Provides properties from the file Properties.txt.

Author:
Karl-Peter Fuchs

Method Summary
protected static java.util.Properties getProperties()
          Returns this Settings' Properties object.
protected static java.lang.String getProperty(java.lang.String key)
          Searches and returns the property with the specified key in the property object.
protected static java.lang.Object setProperty(java.lang.String key, java.lang.String value)
          Sets the property with the specified key in the property object to the bypassed value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProperty

protected static java.lang.String getProperty(java.lang.String key)
Searches and returns the property with the specified key in the property object.

Parameters:
key - The property key.
Returns:
Property with the specified key in the property object.

setProperty

protected static java.lang.Object setProperty(java.lang.String key,
                                              java.lang.String value)
Sets the property with the specified key in the property object to the bypassed value.

Parameters:
key - The key to be placed into the property list.
value - The value corresponding to the key.
Returns:
The previous value of the specified key, or null if it did not have one.

getProperties

protected static java.util.Properties getProperties()
Returns this Settings' Properties object.

Returns:
This Settings' Properties object.