Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.anotherbigidea.io
Class CountingOutputStream  view CountingOutputStream download CountingOutputStream.java

java.lang.Object
  extended byjava.io.OutputStream
      extended bycom.anotherbigidea.io.CountingOutputStream
Direct Known Subclasses:
OutputStreamWrapper

public abstract class CountingOutputStream
extends java.io.OutputStream

An OutputStream that provides a count of the bytes written.


Field Summary
protected  int mCount
           
 
Constructor Summary
CountingOutputStream()
           
 
Method Summary
 int getCount()
           
 void setCount(int count)
          Set the counter.
 
Methods inherited from class java.io.OutputStream
close, flush, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mCount

protected int mCount
Constructor Detail

CountingOutputStream

public CountingOutputStream()
Method Detail

getCount

public int getCount()

setCount

public void setCount(int count)
Set the counter.