Class AnsiControlCodes

java.lang.Object
com.github.rvesse.airline.io.AnsiControlCodes

public class AnsiControlCodes extends Object
Constants
  • Field Details

    • ESCAPE

      public static final String ESCAPE
      Standard ANSI escape sequence
      See Also:
    • PARAM_SEPARATOR

      public static final char PARAM_SEPARATOR
      Character used to separate parameters in ANSI escape sequences
      See Also:
    • SELECT_GRAPHIC_RENDITION

      public static final char SELECT_GRAPHIC_RENDITION
      Command code for setting the graphics rendition
      See Also:
    • RESET

      public static final char RESET
      Character used to request reset
      See Also:
    • BOLD

      public static final int BOLD
      See Also:
    • FAINT

      public static final int FAINT
      See Also:
    • ITALIC

      public static final int ITALIC
      See Also:
    • UNDERLINE

      public static final int UNDERLINE
      See Also:
    • IMAGE_NEGATIVE

      public static final int IMAGE_NEGATIVE
      See Also:
    • CONCEAL

      public static final int CONCEAL
      See Also:
    • STRIKE_THROUGH

      public static final int STRIKE_THROUGH
      See Also:
    • BOLD_OFF

      public static final int BOLD_OFF
      See Also:
    • NORMAL_INTENSITY

      public static final int NORMAL_INTENSITY
      See Also:
    • ITALIC_OFF

      public static final int ITALIC_OFF
      See Also:
    • UNDERLINE_OFF

      public static final int UNDERLINE_OFF
      See Also:
    • IMAGE_POSITIVE

      public static final int IMAGE_POSITIVE
      See Also:
    • REVEAL

      public static final int REVEAL
      See Also:
    • STRIKE_THROUGH_OFF

      public static final int STRIKE_THROUGH_OFF
      See Also:
    • FOREGROUND

      public static final int FOREGROUND
      Control Code for setting the foreground colour
      See Also:
    • FOREGROUND_EXTENDED

      public static final int FOREGROUND_EXTENDED
      Control Code for setting the foreground colour to an extended colour
      See Also:
    • BACKGROUND

      public static final int BACKGROUND
      Control Code for setting the background colour
      See Also:
    • BACKGROUND_EXTENDED

      public static final int BACKGROUND_EXTENDED
      Control Code for setting the background colour to an extended colour
      See Also:
    • DEFAULT_FOREGROUND

      public static final int DEFAULT_FOREGROUND
      Control code for resetting the foreground colour to the default
      See Also:
    • DEFAULT_BACKGROUND

      public static final int DEFAULT_BACKGROUND
      Control code for resetting the background colour to the default
      See Also:
    • FOREGROUND_BRIGHT

      public static final int FOREGROUND_BRIGHT
      Control Code for setting the high intensity variant of the foreground colour
      See Also:
    • BACKGROUND_BRIGHT

      public static final int BACKGROUND_BRIGHT
      Control Code for setting the high intensity variant of the background colour
      See Also:
    • COLOR_MODE_TRUE

      public static final char COLOR_MODE_TRUE
      24 bit extended colour mode
      See Also:
    • COLOR_MODE_256

      public static final char COLOR_MODE_256
      256 colour extended colour mode
      See Also:
  • Constructor Details

    • AnsiControlCodes

      AnsiControlCodes()
      Private constructor to prevent instantiation
  • Method Details

    • getGraphicsResetCode

      public static String getGraphicsResetCode()
      Provides the ANSI full graphics reset code
      Returns:
      ANSI Full graphics reset code