Class AnsiWriter

java.lang.Object
java.io.Writer
java.io.FilterWriter
org.jline.utils.AnsiWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable
Direct Known Subclasses:
WindowsAnsiWriter, WindowsAnsiWriter, WindowsAnsiWriter

public class AnsiWriter extends FilterWriter
A ANSI writer extracts ANSI escape codes written to a Writer and calls corresponding process* methods. For more information about ANSI escape codes, see: http://en.wikipedia.org/wiki/ANSI_escape_code This class just filters out the escape codes so that they are not sent out to the underlying Writer: process* methods are empty. Subclasses should actually perform the ANSI escape behaviors by implementing active code in process* methods.
Since:
1.0
Author:
Hiram Chirino, Joris Kuipers