public class CountedByteOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
CountedByteOutputStream(OutputStream out)
Creates a Counted Bytes output stream from the given stream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCount() |
void |
write(byte[] b) |
void |
write(byte[] b,
int offset,
int len) |
void |
write(int b) |
close, flushpublic CountedByteOutputStream(OutputStream out)
out - stream to write topublic void write(int b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b,
int offset,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionpublic int getCount()
Copyright © 2016. All rights reserved.