Module storm

Class StringTemplates

java.lang.Object
st.orm.template.impl.StringTemplates

public final class StringTemplates extends Object
StringTemplates relies on preview features of the Java platform:
Programs can only use StringTemplates when preview features are enabled.
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 Details

    • flatten

      public static StringTemplatePREVIEW flatten(@Nonnull StringTemplatePREVIEW template)
      Flattens a string template by merging nested templates into a single template.
      Parameters:
      template - the template to flatten.
      Returns:
      the flattened template.