testEnvironment
Class Settings
java.lang.Object
testEnvironment.Settings
final class Settings
- extends java.lang.Object
Provides properties from the file
TestEnvironmentProperties.txt
.
- Author:
- Karl-Peter Fuchs
Constructor Summary |
Settings()
Creates a new Settings object (empty constructor). |
Method Summary |
static java.lang.String |
getProperty(java.lang.String key)
Searches and returns the property with the specified key in the
property object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
internalInformationPort
private static InternalInformationPortController internalInformationPort
- Reference on component
InternalInformationPort
.
Used to display and/or log data and read general settings.
LOGGER
private static final java.util.logging.Logger LOGGER
- Logger used to log and display information.
properties
private static java.util.Properties properties
Properties
object to load values from.
Settings
public Settings()
- Creates a new
Settings
object (empty constructor).
getProperty
public 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.