Package org.pentaho.di.laf
Class OverlayPropertyHandler
java.lang.Object
org.pentaho.di.laf.OverlayPropertyHandler
- All Implemented Interfaces:
Handler
,PropertyHandler
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
check to see whether a property file exists within the classpath or filesystemstatic PropertyHandler
static String
getLAFProp
(String key) getProperty
(String key) return the value of a given key from the properties listgetProperty
(String key, String defValue) return the value of a given key from the properties list, returning the defValue string should the key not be foundprotected boolean
boolean
load properties for the given properties file
-
Field Details
-
propFile
- See Also:
-
-
Constructor Details
-
OverlayPropertyHandler
public OverlayPropertyHandler()
-
-
Method Details
-
getInstance
-
loadAltProps
protected boolean loadAltProps() -
getProperty
Description copied from interface:PropertyHandler
return the value of a given key from the properties list- Specified by:
getProperty
in interfacePropertyHandler
- Returns:
- null if the key is not found
-
getLAFProp
-
loadProps
Description copied from interface:PropertyHandler
load properties for the given properties file- Specified by:
loadProps
in interfacePropertyHandler
- Returns:
- true if load was successful
-
getProperty
Description copied from interface:PropertyHandler
return the value of a given key from the properties list, returning the defValue string should the key not be found- Specified by:
getProperty
in interfacePropertyHandler
- Returns:
- a string representing either the value associated with the passed key or defValue should that key not be found
-
exists
Description copied from interface:PropertyHandler
check to see whether a property file exists within the classpath or filesystem- Specified by:
exists
in interfacePropertyHandler
- Returns:
- true if resource exists
-