com.togethersoft.testing.shared
Interface IConfig
- public interface IConfig
Interface to access config properties both on host and server.
| Method Summary |
String | expandMacros(String macroString) Returns a string with expanded macros. |
String | getProperty(String name, String defaultValue) Returns the value of given property |
Enumeration | propertyNames(String prefix) Returns an enumeration of all property names in the config. |
void | setProperty(String name, String value) Sets the property value |
expandMacros
public String expandMacros(String macroString)
- Returns a string with expanded macros.
getProperty
public String getProperty(String name, String defaultValue)
- Returns the value of given property
propertyNames
public Enumeration propertyNames(String prefix)
- Returns an enumeration of all property names in the config.
setProperty
public void setProperty(String name, String value)
- Sets the property value