java.lang.Object
st.orm.template.impl.StringTemplates
StringTemplates relies on preview features of the Java platform:
StringTemplatesrefers to one or more preview APIs:StringTemplate.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Utility class for processing string templates.
- Since:
- 1.2
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringTemplatePREVIEWflatten(StringTemplatePREVIEW template) Flattens a string template by merging nested templates into a single template.
-
Method Details
-
flatten
Flattens a string template by merging nested templates into a single template.- Parameters:
template- the template to flatten.- Returns:
- the flattened template.
-
StringTemplateswhen preview features are enabled.