org.freehep.util.io
Class CountedByteOutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--java.io.FilterOutputStream
|
+--org.freehep.util.io.CountedByteOutputStream
- Direct Known Subclasses:
- PDFByteWriter
- public class CountedByteOutputStream
- extends FilterOutputStream
The CountedByteOutputStream counts the number of bytes written.
- Version:
- $Id: CountedByteOutputStream.java,v 1.1 2001/06/05 10:32:52 duns Exp $
- Author:
- Mark Donszelmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountedByteOutputStream
public CountedByteOutputStream(OutputStream out)
write
public void write(int b)
throws IOException
- Overrides:
write
in class FilterOutputStream
IOException
write
public void write(byte[] b)
throws IOException
- Overrides:
write
in class FilterOutputStream
IOException
write
public void write(byte[] b,
int offset,
int len)
throws IOException
- Overrides:
write
in class FilterOutputStream
IOException
getCount
public int getCount()
Copyright © 2000-2003 FreeHEP, All Rights Reserved.