Package 

Object Ansi

  • All Implemented Interfaces:

    
    public class Ansi
    
                        

    Constants for console formatting with ANSI codes. They can be used in strings to enable or disable a display option.

    • Constructor Detail

    • Method Detail

      • getRegex

         final Regex getRegex()

        Regex that matches ANSI escape sequences.

      • getCSI

         final String getCSI()

        Control Sequence Introducer.

      • getRESET

         final String getRESET()

        Disable all options applied before.

      • getBLACK

         final String getBLACK()

        Set black as the foreground color.

      • getRED

         final String getRED()

        Set red as the foreground color.

      • getGREEN

         final String getGREEN()

        Set green as the foreground color.

      • getYELLOW

         final String getYELLOW()

        Set yellow as the foreground color.

      • getBLUE

         final String getBLUE()

        Set blue as the foreground color.

      • getMAGENTA

         final String getMAGENTA()

        Set magenta as the foreground color.

      • getCYAN

         final String getCYAN()

        Set cyan as the foreground color.

      • getWHITE

         final String getWHITE()

        Set white as the foreground color.

      • getDEFAULT

         final String getDEFAULT()

        Set back the default foreground color.

      • getBLACK_BG

         final String getBLACK_BG()

        Set black as the background color.

      • getRED_BG

         final String getRED_BG()

        Set red as the background color.

      • getGREEN_BG

         final String getGREEN_BG()

        Set green as the background color.

      • getYELLOW_BG

         final String getYELLOW_BG()

        Set yellow as the background color.

      • getBLUE_BG

         final String getBLUE_BG()

        Set blue as the background color.

      • getMAGENTA_BG

         final String getMAGENTA_BG()

        Set magenta as the background color.

      • getCYAN_BG

         final String getCYAN_BG()

        Set cyan as the background color.

      • getWHITE_BG

         final String getWHITE_BG()

        Set white as the background color.

      • getDEFAULT_BG

         final String getDEFAULT_BG()

        Set back the default background color.

      • getBRIGHT_BLACK

         final String getBRIGHT_BLACK()

        Set bright black as the foreground color.

      • getBRIGHT_RED

         final String getBRIGHT_RED()

        Set bright red as the foreground color.

      • getBRIGHT_GREEN

         final String getBRIGHT_GREEN()

        Set bright green as the foreground color.

      • getBRIGHT_YELLOW

         final String getBRIGHT_YELLOW()

        Set bright yellow as the foreground color.

      • getBRIGHT_BLUE

         final String getBRIGHT_BLUE()

        Set bright blue as the foreground color.

      • getBRIGHT_MAGENTA

         final String getBRIGHT_MAGENTA()

        Set bright magenta as the foreground color.

      • getBRIGHT_CYAN

         final String getBRIGHT_CYAN()

        Set bright cyan as the foreground color.

      • getBRIGHT_WHITE

         final String getBRIGHT_WHITE()

        Set bright white as the foreground color.

      • getBRIGHT_BLACK_BG

         final String getBRIGHT_BLACK_BG()

        Set bright black as the background color.

      • getBRIGHT_RED_BG

         final String getBRIGHT_RED_BG()

        Set bright red as the background color.

      • getBRIGHT_GREEN_BG

         final String getBRIGHT_GREEN_BG()

        Set bright green as the background color.

      • getBRIGHT_YELLOW_BG

         final String getBRIGHT_YELLOW_BG()

        Set bright yellow as the background color.

      • getBRIGHT_BLUE_BG

         final String getBRIGHT_BLUE_BG()

        Set bright blue as the background color.

      • getBRIGHT_MAGENTA_BG

         final String getBRIGHT_MAGENTA_BG()

        Set bright magenta as the background color.

      • getBRIGHT_CYAN_BG

         final String getBRIGHT_CYAN_BG()

        Set bright cyan as the background color.

      • getBRIGHT_WHITE_BG

         final String getBRIGHT_WHITE_BG()

        Set bright white as the background color.

      • getBOLD

         final String getBOLD()

        Enable bold text.

      • getUNDERLINE

         final String getUNDERLINE()

        Enable underline text.

      • getBLINK

         final String getBLINK()

        Enable blinking text.

      • getINVERSE

         final String getINVERSE()

        Enable inverse color text.

      • getBOLD_OFF

         final String getBOLD_OFF()

        Disable bold text.

      • getBLINK_OFF

         final String getBLINK_OFF()

        Disable blinking text.

      • getINVERSE_OFF

         final String getINVERSE_OFF()

        Disable inverse color text.