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.

    TODO Add other sequences (like OSC)

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Regex REGEX
      public final static String CSI
      public final static String RESET
      public final static Ansi INSTANCE
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Regex getREGEX() Regex that matches ANSI escape sequences.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getREGEX

         final Regex getREGEX()

        Regex that matches ANSI escape sequences.