junit.extensions.util
Class Parameters
java.lang.Object
|
+--junit.extensions.util.Parameters
- public class Parameters
- extends java.lang.Object
Utility class that provides convinient access to application parameters.
- Author:
- Siegfried GOESCHL
Field Summary |
protected static java.lang.String[] |
parameters
Parameters. |
Method Summary |
static java.lang.String[] |
getParameters(java.lang.String propertyKey)
Initializes parameters using system property if they were not initialized before. |
static void |
setParameters(java.lang.String[] parameters)
Explicitly initializes parameters if they were not initialized before. |
static java.lang.String |
toLine()
Combines parameters in single string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parameters
protected static java.lang.String[] parameters
- Parameters.
Parameters
public Parameters()
getParameters
public static java.lang.String[] getParameters(java.lang.String propertyKey)
- Initializes parameters using system property if they were not initialized before.
- Parameters:
propertyKey
- Key of system property.
setParameters
public static void setParameters(java.lang.String[] parameters)
- Explicitly initializes parameters if they were not initialized before.
- Parameters:
parameters
- New value.
toLine
public static java.lang.String toLine()
- Combines parameters in single string.
- Returns:
- Parameters separated by spaces.
Copyright © 2001-2002 IT20one GmbH. All Rights Reserved.