|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.laf.BasePropertyHandler
public class BasePropertyHandler
This is a static accessor for the dynamic property loader and should be used by all classes requiring access to property files. The static accessor provides a notification from the LAFFactory when the concrete handler is changed at runtime should the LAF be changed.
Method Summary | |
---|---|
static BasePropertyHandler |
getInstance()
|
static String |
getProperty(String key)
return the value of a given key from the properties list |
static 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 |
void |
notify(PropertyHandler changedObject)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static BasePropertyHandler getInstance()
public static String getProperty(String key)
key
-
public static String getProperty(String key, String defValue)
key
- defValue
-
public void notify(PropertyHandler changedObject)
notify
in interface LAFChangeListener<PropertyHandler>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |