Class OverlayPropertyHandler

java.lang.Object
org.pentaho.di.laf.OverlayPropertyHandler
All Implemented Interfaces:
Handler, PropertyHandler

public class OverlayPropertyHandler extends Object implements PropertyHandler
  • Field Details

  • Constructor Details

    • OverlayPropertyHandler

      public OverlayPropertyHandler()
  • Method Details

    • getInstance

      public static PropertyHandler getInstance()
    • loadAltProps

      protected boolean loadAltProps()
    • getProperty

      public String getProperty(String key)
      Description copied from interface: PropertyHandler
      return the value of a given key from the properties list
      Specified by:
      getProperty in interface PropertyHandler
      Returns:
      null if the key is not found
    • getLAFProp

      public static String getLAFProp(String key)
    • loadProps

      public boolean loadProps(String filename)
      Description copied from interface: PropertyHandler
      load properties for the given properties file
      Specified by:
      loadProps in interface PropertyHandler
      Returns:
      true if load was successful
    • getProperty

      public String getProperty(String key, String defValue)
      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 interface PropertyHandler
      Returns:
      a string representing either the value associated with the passed key or defValue should that key not be found
    • exists

      public boolean exists(String filename)
      Description copied from interface: PropertyHandler
      check to see whether a property file exists within the classpath or filesystem
      Specified by:
      exists in interface PropertyHandler
      Returns:
      true if resource exists