public interface StrInterpolator
foo=abc
interpolator.create(lookup).resolve("123-${foo}") -> 123-abc
Modifier and Type | Interface and Description |
---|---|
static interface |
StrInterpolator.Context
Top level context
|
static interface |
StrInterpolator.Lookup
Lookup of a raw string for replacements.
|
Modifier and Type | Method and Description |
---|---|
StrInterpolator.Context |
create(StrInterpolator.Lookup lookup)
Create a context though which a value may be resolved.
|
StrInterpolator.Context create(StrInterpolator.Lookup lookup)
interpolator.create(lookup).resolve("prefix-${foo}");