Package org.pentaho.di.laf
Class OverlayPropertyHandler
java.lang.Object
org.pentaho.di.laf.OverlayPropertyHandler
- All Implemented Interfaces:
Handler,PropertyHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheck to see whether a property file exists within the classpath or filesystemstatic PropertyHandlerstatic StringgetLAFProp(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 booleanbooleanload 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:PropertyHandlerreturn the value of a given key from the properties list- Specified by:
getPropertyin interfacePropertyHandler- Returns:
- null if the key is not found
-
getLAFProp
-
loadProps
Description copied from interface:PropertyHandlerload properties for the given properties file- Specified by:
loadPropsin interfacePropertyHandler- Returns:
- true if load was successful
-
getProperty
Description copied from interface:PropertyHandlerreturn the value of a given key from the properties list, returning the defValue string should the key not be found- Specified by:
getPropertyin 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:PropertyHandlercheck to see whether a property file exists within the classpath or filesystem- Specified by:
existsin interfacePropertyHandler- Returns:
- true if resource exists
-