public class PlaceholderReplacer extends java.util.HashMap<java.lang.String,java.io.Serializable> implements Formatter<java.lang.String>
Constructor and Description |
---|
PlaceholderReplacer() |
Modifier and Type | Method and Description |
---|---|
<T> void |
addAllPlaceholdersFrom(DataContainer container,
Formatter<T> formatter,
PlaceholderKey<T>... keys) |
void |
addAllPlaceholdersFrom(DataContainer container,
PlaceholderKey... keys) |
<T> void |
addPlaceholderFrom(DataContainer container,
Formatter<T> formatter,
PlaceholderKey<T> key) |
<T> void |
addPlaceholderFrom(DataContainer container,
PlaceholderKey<T> key) |
java.lang.String |
apply(java.lang.String string) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public <T> void addPlaceholderFrom(DataContainer container, PlaceholderKey<T> key)
public void addAllPlaceholdersFrom(DataContainer container, PlaceholderKey... keys)
public <T> void addPlaceholderFrom(DataContainer container, Formatter<T> formatter, PlaceholderKey<T> key)
public <T> void addAllPlaceholdersFrom(DataContainer container, Formatter<T> formatter, PlaceholderKey<T>... keys)
public java.lang.String apply(java.lang.String string)
apply
in interface java.util.function.Function<java.lang.String,java.lang.String>