Closeable
, Flushable
, AutoCloseable
public class CountingOutputStream extends FilterOutputStream
out
Constructor | Description |
---|---|
CountingOutputStream(OutputStream out) |
Modifier and Type | Method | Description |
---|---|---|
long |
getWritten() |
|
void |
write(byte[] src,
int off,
int len) |
|
void |
write(int val) |
close, flush, write
public CountingOutputStream(OutputStream out)
public long getWritten()
public void write(int val) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] src, int off, int len) throws IOException
write
in class FilterOutputStream
IOException