public class Template extends Object
static Pattern
BRACES_PLACEHOLDER_PATTERN
DOLLAR_BRACES_PLACEHOLDER_PATTERN
String
template
List<String>
variables
Template(String template, Pattern pattern)
apply(Function<String,Object> valueSupplier)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public final String template
public static final Pattern DOLLAR_BRACES_PLACEHOLDER_PATTERN
public static final Pattern BRACES_PLACEHOLDER_PATTERN
public final List<String> variables
public Template(String template, Pattern pattern)
public String apply(Function<String,Object> valueSupplier)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.