public class CountingOutputStream
extends java.io.OutputStream
FilterOutputStream
because the latter one is a significant drawback for performance!| Constructor and Description |
|---|
CountingOutputStream(java.io.OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
long |
getByteCount() |
long |
resetByteCount() |
void |
write(byte[] buffer) |
void |
write(byte[] buffer,
int offset,
int length) |
void |
write(int b) |
public void write(byte[] buffer)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] buffer,
int offset,
int length)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic long getByteCount()
public long resetByteCount()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.