public interface PropertyHandler extends Handler
Modifier and Type | Method and Description |
---|---|
boolean |
exists(String filename)
check to see whether a property file exists within the classpath or filesystem
|
String |
getProperty(String key)
return the value of a given key from the properties list
|
String |
getProperty(String key,
String defValue)
return the value of a given key from the properties list, returning the defValue string should the key not be found
|
boolean |
loadProps(String filename)
load properties for the given properties file
|
boolean loadProps(String filename)
filename
- boolean exists(String filename)
filename
- String getProperty(String key)
key
- String getProperty(String key, String defValue)
key
- defValue
-