public final class Util extends Object
Util
class provides general shared utilities.public static String substVars(String val, String currentKey, Map<String,String> cycleMap, Map<String,String> configProps) throws IllegalArgumentException
val
- The string on which to perform property substitution.currentKey
- The key of the property being evaluated used to detect
cycles.cycleMap
- Map of variable references used to detect nested cycles.configProps
- Set of configuration properties.IllegalArgumentException
- If there was a syntax error in the
property placeholder syntax or a recursive variable
reference.Copyright © 2017 The Apache Software Foundation. All rights reserved.