public class LoggingOutputStream extends OutputStream
| Modifier and Type | Class and Description |
|---|---|
static interface |
LoggingOutputStream.Listener |
| Constructor and Description |
|---|
LoggingOutputStream(OutputStream output,
LoggingOutputStream.Listener listener,
long expectedBytes) |
public LoggingOutputStream(OutputStream output, LoggingOutputStream.Listener listener, long expectedBytes)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2004-2015. All Rights Reserved.