| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableTemplate
Immutable implementation of
Template. |
| Modifier and Type | Method and Description |
|---|---|
static Template |
Template.of(String source) |
static Template |
Template.of(String source,
ReplacementPattern pattern) |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableTemplate |
ImmutableTemplate.copyOf(Template instance)
Creates an immutable copy of a
Template value. |
ImmutableTemplate.Builder |
ImmutableTemplate.Builder.from(Template instance)
Fill a builder with attribute values from the provided
Template instance. |
static String |
Template.render(Template template,
Function<String,String> variableLookUp) |
static String |
Template.render(Template template,
Map<String,String> replacements) |
static String |
Template.render(Template template,
Map<String,String> replacements,
BiFunction<String,Set<String>,String> fallback) |
Copyright © 2023. All rights reserved.