public class OverlayPropertyHandler extends Object implements PropertyHandler
| Constructor and Description |
|---|
OverlayPropertyHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(String filename)
check to see whether a property file exists within the classpath or filesystem
|
static PropertyHandler |
getInstance() |
static String |
getLAFProp(String key) |
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
|
public static PropertyHandler getInstance()
public String getProperty(String key)
PropertyHandlergetProperty in interface PropertyHandlerpublic boolean loadProps(String filename)
PropertyHandlerloadProps in interface PropertyHandlerpublic String getProperty(String key, String defValue)
PropertyHandlergetProperty in interface PropertyHandlerpublic boolean exists(String filename)
PropertyHandlerexists in interface PropertyHandler