public class CountingOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
CountingOutputStream(OutputStream rawIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
int |
getCount() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public CountingOutputStream(OutputStream rawIn)
public 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 off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class FilterOutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamIOExceptionpublic int getCount()
Copyright © 1999–2019 The Apache Software Foundation. All rights reserved.