Class AnsiOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable
    Direct Known Subclasses:
    AnsiHtmlOutputStream

    public class AnsiOutputStream
    extends FilterOutputStream
    A ANSI output stream extracts ANSI escape codes written to an output stream. 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 OutputStream. Subclasses should actually perform the ANSI escape behaviors.
    Since:
    1.0
    Author:
    Hiram Chirino, Joris Kuipers