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)
PropertyHandler
getProperty
in interface PropertyHandler
public boolean loadProps(String filename)
PropertyHandler
loadProps
in interface PropertyHandler
public String getProperty(String key, String defValue)
PropertyHandler
getProperty
in interface PropertyHandler
public boolean exists(String filename)
PropertyHandler
exists
in interface PropertyHandler