Class JLineTextStyler

java.lang.Object
com.aspectran.shell.jline.console.JLineTextStyler

public class JLineTextStyler extends Object
Utilities to handle ANSI escape sequences with JLine.

Created: 2017. 5. 21.

Since:
4.1.0
  • Constructor Details

    • JLineTextStyler

      public JLineTextStyler()
  • Method Details

    • parse

      public static org.jline.utils.AttributedCharSequence parse(String input)
    • parse

      public static org.jline.utils.AttributedCharSequence parse(String input, org.jline.utils.AttributedStyle defaultStyle)
    • parseAsString

      public static String parseAsString(String input, org.jline.terminal.Terminal terminal)
    • parseAsString

      public static String parseAsString(org.jline.utils.AttributedStyle defaultStyle, String input, org.jline.terminal.Terminal terminal)
    • style

      public static org.jline.utils.AttributedStyle style(String... styles)
    • style

      public static org.jline.utils.AttributedStyle style(org.jline.utils.AttributedStyle baseStyle, String... styles)