|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.easymock.internal.EasyMockProperties
public final class EasyMockProperties
Contains properties used by EasyMock to change its default behavior. The loading order is (any step being able to overload the properties of the previous step):
Method Summary | |
---|---|
static EasyMockProperties |
getInstance()
|
String |
getProperty(String key)
Searches for the property with the specified key. |
String |
getProperty(String key,
String defaultValue)
Searches for the property with the specified key. |
String |
setProperty(String key,
String value)
Add a value referenced by the provided key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static EasyMockProperties getInstance()
public String getProperty(String key, String defaultValue)
key
- key leading to the propertydefaultValue
- the value to be returned if the key isn't found
public String getProperty(String key)
key
- key leading to the property
public String setProperty(String key, String value)
key
- the key of the new propertyvalue
- the value corresponding to key.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |