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
- Source Code:
- CountedByteOutputStream.java
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
- Throws:
IOException
write
public void write(byte[] b)
throws IOException
- Throws:
IOException
write
public void write(byte[] b,
int offset,
int len)
throws IOException
- Throws:
IOException
getCount
public int getCount()
Copyright © 2000-2004 FreeHEP, All Rights Reserved.