Class StringToStyleExpressionRenderer

java.lang.Object
org.springframework.shell.style.StringToStyleExpressionRenderer
All Implemented Interfaces:
org.stringtemplate.v4.AttributeRenderer<String>

public class StringToStyleExpressionRenderer extends Object implements org.stringtemplate.v4.AttributeRenderer<String>
ST AttributeRenderer which knows to use format string to render strings into jline StyleExpression based on theming settings.
  • Constructor Details

    • StringToStyleExpressionRenderer

      public StringToStyleExpressionRenderer(ThemeResolver themeResolver)
  • Method Details

    • toString

      public String toString(String value, String formatString, Locale locale)
      Specified by:
      toString in interface org.stringtemplate.v4.AttributeRenderer<String>