public interface PlaceholderResolver
Modifier and Type | Method and Description |
---|---|
String |
replace(String value)
Replaces all the occurrences of variables with their matching values from the resolver using the given source string as a template.
|
boolean |
replaceAll(Dictionary<String,Object> dictionary)
Replaces all the occurrences of variables within the given dictionary
|
boolean |
replaceAll(Map<String,Object> dictionary)
Replaces all the occurrences of variables within the given dictionary
|
boolean |
replaceIn(StringBuilder value)
Replaces all the occurrences of variables within the given source builder with their matching values from the resolver.
|
String |
resolve(String value)
Resolve a placeholder using the strategy indicated by the prefix
|
String resolve(String value)
value
- the placeholder to resolveString replace(String value)
source
- the string to replace inboolean replaceIn(StringBuilder value)
value
- the builder to replace inboolean replaceAll(Dictionary<String,Object> dictionary)
dictionary
- the dictionary to replace inCopyright © 2011–2019 Red Hat. All rights reserved.