Package org.openqa.selenium.io
Class CircularOutputStream
java.lang.Object
java.io.OutputStream
org.openqa.selenium.io.CircularOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
Captures the last N bytes of output.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
CircularOutputStream
public CircularOutputStream(int maxSize) -
CircularOutputStream
public CircularOutputStream()
-
-
Method Details
-
write
public void write(byte[] b) - Overrides:
write
in classOutputStream
-
write
public void write(byte[] b, int off, int len) - Overrides:
write
in classOutputStream
-
write
public void write(int b) - Specified by:
write
in classOutputStream
-
flush
public void flush()- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
-
toString
-
toString
-