public class CountingOutputStream extends OutputStream
| Constructor and Description |
|---|
CountingOutputStream(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Retrieves the number of bytes that have been written to this stream so
far.
|
void |
write(int b) |
close, flush, write, writepublic CountingOutputStream(OutputStream out)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic int getCount()
Copyright © 2016 Colorado State University. All rights reserved.