Uses of Interface
java.lang.StringTemplate
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
-
Uses of StringTemplatePREVIEW in java.lang
Modifier and TypeFieldDescriptionStringTemplate.RAW
ThisStringTemplate.Processor
PREVIEW instance is conventionally used to indicate that the processing of theStringTemplate
PREVIEW is to be deferred to a later time.Modifier and TypeMethodDescriptionstatic StringTemplatePREVIEW
StringTemplate.combine
(StringTemplatePREVIEW... stringTemplates) static StringTemplatePREVIEW
StringTemplate.combine
(List<StringTemplatePREVIEW> stringTemplates) static StringTemplatePREVIEW
Returns aStringTemplate
PREVIEW as if constructed by invokingStringTemplate.of(List.of(string), List.of())
.static StringTemplatePREVIEW
Returns a StringTemplate with the given fragments and values.Modifier and TypeMethodDescriptionstatic StringTemplatePREVIEW
StringTemplate.combine
(StringTemplatePREVIEW... stringTemplates) StringTemplate.Processor.process
(StringTemplatePREVIEW stringTemplate) Constructs a result based on the template fragments and values in the suppliedstringTemplate
PREVIEW object.static String
StringTemplate.toString
(StringTemplatePREVIEW stringTemplate) Produces a diagnostic string that describes the fragments and values of the suppliedStringTemplate
PREVIEW.Modifier and TypeMethodDescriptionstatic StringTemplatePREVIEW
StringTemplate.combine
(List<StringTemplatePREVIEW> stringTemplates) static <T> StringTemplate.ProcessorPREVIEW
<T, RuntimeException> StringTemplate.Processor.of
(Function<? super StringTemplatePREVIEW, ? extends T> process) This factory method can be used to create aStringTemplate.Processor
PREVIEW containing aStringTemplate.Processor.process(java.lang.StringTemplate)
PREVIEW method derived from a lambda expression. -
Uses of StringTemplatePREVIEW in java.util
Modifier and TypeMethodDescriptionfinal String
FormatProcessor.process
(StringTemplatePREVIEW stringTemplate) Constructs aString
based on the fragments, format specifications found in the fragments and values in the suppliedStringTemplate
PREVIEW object.