public final class EasyMockProperties
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static EasyMockProperties |
getInstance() |
|
java.lang.String |
getProperty(java.lang.String key) |
Searches for the property with the specified key.
|
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue) |
Searches for the property with the specified key.
|
java.lang.String |
setProperty(java.lang.String key,
java.lang.String value) |
Add a value referenced by the provided key.
|
public static EasyMockProperties getInstance()
public java.lang.String getProperty(java.lang.String key,
java.lang.String defaultValue)
key - key leading to the propertydefaultValue - the value to be returned if the key isn't foundpublic java.lang.String getProperty(java.lang.String key)
key - key leading to the propertypublic java.lang.String setProperty(java.lang.String key,
java.lang.String value)
key - the key of the new propertyvalue - the value corresponding to key.Copyright © 2001-2019 EasyMock contributors. This documentation is provided under the terms of the Apache 2 licence.