6 import java.io.IOException;
7 import java.io.OutputStream;
12 public class DebugOutputStream extends OutputStream{
14 private final OutputStream os;
15 private long dumpedBytes = 0L;
20 * @param os 委譲先出力ストリーム
22 public DebugOutputStream(OutputStream os){
32 private void before(){
48 * @param b {@inheritDoc}
49 * @throws IOException {@inheritDoc}
52 public void write(int b) throws IOException {
64 * @throws IOException {@inheritDoc}
67 public void close() throws IOException {
74 * @throws IOException {@inheritDoc}
77 public void flush() throws IOException {