Uses of Interface java.lang.StringTemplate (Java SE 21 & JDK 21)
Description: use: module: java.base, package: java.lang, interface: StringTemplate

# Uses of Interface
java.lang.StringTemplate

Packages that use StringTemplatePREVIEW
Package
Description
java.lang
Provides classes that are fundamental to the design of the Java programming language.
java.util
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

  Fields in java.lang with type parameters of type StringTemplatePREVIEW
  Modifier and Type
  Field
  Description
  `static final StringTemplate.ProcessorPREVIEW<StringTemplatePREVIEW,RuntimeException>`
  StringTemplate.`RAW`
  This `StringTemplate.Processor`PREVIEW instance is conventionally used to indicate that the processing of the `StringTemplate`PREVIEW is to be deferred to a later time.
  Methods in java.lang that return StringTemplatePREVIEW
  Modifier and Type
  Method
  Description
  `static StringTemplatePREVIEW`
  StringTemplate.`combine(StringTemplatePREVIEW... stringTemplates)`
  Combine zero or more `StringTemplates`PREVIEW into a single `StringTemplate`PREVIEW.
  `static StringTemplatePREVIEW`
  StringTemplate.`combine(List<StringTemplatePREVIEW> stringTemplates)`
  Combine a list of `StringTemplates`PREVIEW into a single `StringTemplate`PREVIEW.
  `static StringTemplatePREVIEW`
  StringTemplate.`of(String string)`
  Returns a `StringTemplate`PREVIEW as if constructed by invoking `StringTemplate.of(List.of(string), List.of())`.
  `static StringTemplatePREVIEW`
  StringTemplate.`of(List<String> fragments, List<?> values)`
  Returns a StringTemplate with the given fragments and values.
  Methods in java.lang with parameters of type StringTemplatePREVIEW
  Modifier and Type
  Method
  Description
  `static StringTemplatePREVIEW`
  StringTemplate.`combine(StringTemplatePREVIEW... stringTemplates)`
  Combine zero or more `StringTemplates`PREVIEW into a single `StringTemplate`PREVIEW.
  `R`
  StringTemplate.Processor.`process(StringTemplatePREVIEW stringTemplate)`
  Constructs a result based on the template fragments and values in the supplied `stringTemplate`PREVIEW object.
  `static String`
  StringTemplate.`toString(StringTemplatePREVIEW stringTemplate)`
  Produces a diagnostic string that describes the fragments and values of the supplied `StringTemplate`PREVIEW.
  Method parameters in java.lang with type arguments of type StringTemplatePREVIEW
  Modifier and Type
  Method
  Description
  `static StringTemplatePREVIEW`
  StringTemplate.`combine(List<StringTemplatePREVIEW> stringTemplates)`
  Combine a list of `StringTemplates`PREVIEW into a single `StringTemplate`PREVIEW.
  `static <T> StringTemplate.ProcessorPREVIEW<T,RuntimeException>`
  StringTemplate.Processor.`of(Function<? super StringTemplatePREVIEW,? extends T> process)`
  This factory method can be used to create a `StringTemplate.Processor`PREVIEW containing a `StringTemplate.Processor.process(java.lang.StringTemplate)`PREVIEW method derived from a lambda expression.

- ## Uses of StringTemplatePREVIEW in java.util

  Methods in java.util with parameters of type StringTemplatePREVIEW
  Modifier and Type
  Method
  Description
  `final String`
  FormatProcessor.`process(StringTemplatePREVIEW stringTemplate)`
  Constructs a `String` based on the fragments, format specifications found in the fragments and values in the supplied `StringTemplate`PREVIEW object.