public class CounterOutputStream extends OutputStream
| Constructor and Description |
|---|
CounterOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
int |
getCount()
Returns message size
|
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
writepublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreampublic void flush()
flush in interface Flushableflush in class OutputStreampublic void write(byte[] b,
int off,
int len)
write in class OutputStreampublic void write(int b)
write in class OutputStreampublic int getCount()
Copyright © 1998-2017 Apache Software Foundation. All Rights Reserved.