org.sourceforge.jxutil.io
Class CountingOutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--java.io.FilterOutputStream
|
+--org.sourceforge.jxutil.io.CountingOutputStream
- public final class CountingOutputStream
- extends FilterOutputStream
Count bytes written.
Field Summary |
(package private) long |
mark
|
(package private) long |
written
|
Method Summary |
long |
tell()
|
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mark
long mark
written
long written
CountingOutputStream
public CountingOutputStream(OutputStream out)
tell
public long tell()
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Overrides:
write
in class FilterOutputStream
IOException
write
public void write(int b)
throws IOException
- Overrides:
write
in class FilterOutputStream
IOException
Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.