com.tffenterprises.io
Interface AccountingOutput

All Known Implementing Classes:
ByteArrayOutputStream

public interface AccountingOutput

AccountingOutput is an interface for OutputStreams and files, such that the number of bytes that have been written out is tallied and can be reported.

The procedure is simple: upon acquisition of a file or stream, an AccountingOutput starts accounting such that the number of bytes that have been written to the stream (or file) can be returned.

Version:
1.0d1 $Date: 2000/06/20 02:52:25 $
Author:
Guillaume Lessard

Method Summary
 long written()
          Returns the number of bytes that have been written to the stream or file since the AccountingOutput instance was constructed.
 

Method Detail

written

long written()
Returns the number of bytes that have been written to the stream or file since the AccountingOutput instance was constructed.

Returns:
the number of bytes that have been written out.