Klasse ConfigurationUtil
java.lang.Object
org.apache.fulcrum.yaafi.framework.util.ConfigurationUtil
Helper class to expand the value and all attributes.
- Autor:
- Siegfried Goeschl
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic 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.
-
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.ConfigurationExceptionExpand 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 messagesdefaultConfiguration
- the configurationvars
- the map holding the variables- Löst aus:
org.apache.avalon.framework.configuration.ConfigurationException
- parsing the configuration failed
-