public class CountingOutputStream extends WrappedOutputStream
OutputStream that counts the number of read
bytes.out| Constructor and Description |
|---|
CountingOutputStream(OutputStream aSourceOS) |
| Modifier and Type | Method and Description |
|---|---|
long |
getBytesWritten() |
String |
toString() |
void |
write(int b) |
getWrappedOutputStreamclose, flush, write, writepublic CountingOutputStream(@Nonnull OutputStream aSourceOS)
public void write(int b)
throws IOException
write in class FilterOutputStreamIOException@Nonnegative public long getBytesWritten()
public String toString()
toString in class WrappedOutputStreamCopyright © 2014–2016 Philip Helger. All rights reserved.