Class WindowsAnsiProcessor


  • public final class WindowsAnsiProcessor
    extends AnsiProcessor
    A Windows ANSI escape processor, that uses JNA to access native platform API's to change the console attributes (see Jansi native Kernel32).

    The native library used is named jansi and is loaded using HawtJNI Runtime Library

    Since:
    1.19
    Author:
    Hiram Chirino, Joris Kuipers
    • Constructor Detail

      • WindowsAnsiProcessor

        public WindowsAnsiProcessor​(java.io.OutputStream ps,
                                    long console)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • WindowsAnsiProcessor

        public WindowsAnsiProcessor​(java.io.OutputStream ps,
                                    boolean stdout)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • WindowsAnsiProcessor

        public WindowsAnsiProcessor​(java.io.OutputStream ps)
                             throws java.io.IOException
        Throws:
        java.io.IOException