public static String interpolate(String input,final Map<String,String> namedArgs,final Map<String,String> defaultArgs){
  if (namedArgs == null || input == null) {
    return input;
  }
  final Map<String,String> interpolationArgs=createFinalInterpolationMap(namedArgs,defaultArgs);
  return StrSubstitutor.replace(input,interpolationArgs,PREFIX,SUFFIX);
}

public static String interpolate ( String input , final Map < String , String > namedArgs , final Map < String , String > defaultArgs ) { if ( namedArgs == null || input == null ) { return input ; } final Map < String , String > interpolationArgs = createFinalInterpolationMap ( namedArgs , defaultArgs ) ; return StrSubstitutor . replace ( input , interpolationArgs , PREFIX , SUFFIX ) ; }
performs variable interpolation using the named arguments from an action on a single string
