Klasse ConfigurationUtil

java.lang.Object
org.apache.fulcrum.yaafi.framework.util.ConfigurationUtil

public class ConfigurationUtil extends Object
Helper class to expand the value and all attributes.
Autor:
Siegfried Goeschl
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    static void
    expand(org.apache.avalon.framework.logger.Logger logger, org.apache.avalon.framework.configuration.DefaultConfiguration defaultConfiguration, Map<?,?> vars)
    Expand place holders found in values or attrbute values with the content of the given variables.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • ConfigurationUtil

      public ConfigurationUtil()
  • Methodendetails

    • expand

      public static void expand(org.apache.avalon.framework.logger.Logger logger, org.apache.avalon.framework.configuration.DefaultConfiguration defaultConfiguration, Map<?,?> vars) throws org.apache.avalon.framework.configuration.ConfigurationException
      Expand place holders found in values or attrbute values with the content of the given variables. The implementation assumes that the given configuration can be cast to a DefaultConfiguration otherwise we can't use any setters.
      Parameter:
      logger - the logger to write diagnostic messages
      defaultConfiguration - the configuration
      vars - the map holding the variables
      Löst aus:
      org.apache.avalon.framework.configuration.ConfigurationException - parsing the configuration failed