Closeable, Flushable, AutoCloseablepublic class CountingOutputStream extends FilterOutputStream
out| Constructor | Description |
|---|---|
CountingOutputStream(OutputStream out) |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getWritten() |
|
void |
write(byte[] src,
int off,
int len) |
|
void |
write(int val) |
close, flush, writepublic CountingOutputStream(OutputStream out)
public long getWritten()
public void write(int val)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] src,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOException