| Modifier and Type | Field and Description |
|---|---|
| private static volatile EasyMockProperties | |
| private static final String | |
| private final Properties |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private ClassLoader | |
| public static EasyMockProperties | |
| public String | Returns: the value found for the key or the default valuekey leading to the property key, String the value to be returned if the key isn't found defaultValue)Searches for the property with the specified key. |
| public String | Returns: the value found for the key or nullkey leading to the property key)Searches for the property with the specified key. |
| private void | |
| public String | Returns: the property previous valuethe key of the new property key, String the value corresponding to value)key.Add a value referenced by the provided key. |
| instance | back to summary |
|---|---|
| private static volatile EasyMockProperties instance | |
| PREFIX | back to summary |
|---|---|
| private static final String PREFIX | |
| properties | back to summary |
|---|---|
| private final Properties properties | |
| EasyMockProperties | back to summary |
|---|---|
| private EasyMockProperties() | |
| getClassLoader | back to summary |
|---|---|
| private ClassLoader getClassLoader() | |
| getInstance | back to summary |
|---|---|
| public static EasyMockProperties getInstance() | |
| getProperty | back to summary |
|---|---|
| public String getProperty(String key, String defaultValue) Searches for the property with the specified key. If the key is not found, return the default value. | |
| getProperty | back to summary |
|---|---|
| public String getProperty(String key) Searches for the property with the specified key. Return null if the key is not found. | |
| loadEasyMockProperties | back to summary |
|---|---|
| private void loadEasyMockProperties(String propertyFileName) | |
| setProperty | back to summary |
|---|---|
| public String setProperty(String key, String value) Add a value referenced by the provided key. A null value will remove the key | |