Class CircularOutputStream

  • All Implemented Interfaces:,, java.lang.AutoCloseable

    public class CircularOutputStream
    Captures the last N bytes of output.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      void write​(int b)  
      • Methods inherited from class

        close, flush, nullOutputStream, write, write
      • Methods inherited from class java.lang.Object

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

      • CircularOutputStream

        public CircularOutputStream​(int maxSize)
      • CircularOutputStream

        public CircularOutputStream()
    • Method Detail

      • write

        public void write​(int b)
        Specified by:
        write in class
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object