public class CountingOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
CountingOutputStream(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
long |
getBytesWritten() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush, writepublic CountingOutputStream(OutputStream out)
public void write(int b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionpublic long getBytesWritten()
Copyright © 2018. All rights reserved.