com.ibm.commerce.giftregistry.util

Class GiftRegistryConfigProperties

  • java.lang.Object
    • com.ibm.commerce.giftregistry.util.GiftRegistryConfigProperties


  • public class GiftRegistryConfigProperties
    extends java.lang.Object
    Returns an instance configuration value, which is stored in the gift registry static configuration file. Given a path, the specific value is returned.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String getConfigValue(java.lang.String key)
      Returns the first value from the configuration file as a string
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GiftRegistryConfigProperties

        public GiftRegistryConfigProperties()
    • Method Detail

      • getConfigValue

        public static java.lang.String getConfigValue(java.lang.String key)
        Returns the first value from the configuration file as a string
        Parameters:
        key - the key to find a value for, the format is hierarchy path1 + "/" + path2 .. + "/" + nameOfAttribute
        Returns:
        the first value associated with the key passed in from the attribute set