Class AnsiPrintStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable

    @Deprecated
    public class AnsiPrintStream
    extends java.io.PrintStream
    Deprecated.
    Forwards everything written to it to whatever System.out currently is, untouched by Maven. Unlike real JAnsi, this stream does not decide for itself whether to strip, force or pass through ANSI escapes - that decision belongs to Maven's color setting - so setMode(org.fusesource.jansi.AnsiMode) is a no-op. This class comes from Jansi and is provided for backward compatibility with maven-shared-utils; Maven itself no longer ships Jansi.
    • Field Summary

      • Fields inherited from class java.io.FilterOutputStream

        out
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      AnsiMode getMode()
      Deprecated.
       
      int getTerminalWidth()
      Deprecated.
       
      void setMode​(AnsiMode mode)
      Deprecated.
       
      • Methods inherited from class java.io.PrintStream

        append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write
      • Methods inherited from class java.io.FilterOutputStream

        write
      • Methods inherited from class java.io.OutputStream

        nullOutputStream
      • Methods inherited from class java.lang.Object

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

      • getMode

        public AnsiMode getMode()
        Deprecated.
      • setMode

        public void setMode​(AnsiMode mode)
        Deprecated.
      • getTerminalWidth

        public int getTerminalWidth()
        Deprecated.