public class DebugOutputStream
extends java.io.FilterOutputStream
Modifier and Type | Field and Description |
---|---|
protected boolean |
passThrough |
Constructor and Description |
---|
DebugOutputStream()
Output stream that debugs to system out.
|
DebugOutputStream(boolean passThrough) |
DebugOutputStream(java.io.OutputStream out) |
DebugOutputStream(java.io.OutputStream out,
boolean passThrough) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
dumpByte(int b)
Dumps single byte to output stream.
|
void |
flush() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public DebugOutputStream()
public DebugOutputStream(java.io.OutputStream out)
public DebugOutputStream(boolean passThrough)
public DebugOutputStream(java.io.OutputStream out, boolean passThrough)
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterOutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.FilterOutputStream
java.io.IOException
public void write(int b) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public void write(byte[] b) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
protected void dumpByte(int b)
Copyright © 2003-2013 Jodd Team