com.gc.iotools.stream.os
Class StatsOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by com.gc.iotools.stream.os.inspection.StatsOutputStream
          extended by com.gc.iotools.stream.os.StatsOutputStream
All Implemented Interfaces:
Closeable, Flushable
Direct Known Subclasses:
SizeRecorderOutputStream

Deprecated.

@Deprecated
public class StatsOutputStream
extends StatsOutputStream

Gather some statistics on the OutputStream passed in the constructor.

It can be used to read:

Full statistics are available after the stream has been fully processed (by other parts of the application), or after invoking the method StatsOutputStream.close() while partial statistics are available on the fly.

Removal scheduled in 1.3 version. Please use com.gc.iotools.stream.os.inspection.StatsOutputStream

Since:
1.2.1
Author:
dvd.smnt
See Also:
StatsOutputStream

Constructor Summary
StatsOutputStream(OutputStream destination)
          Deprecated.  
 
Method Summary
 
Methods inherited from class com.gc.iotools.stream.os.inspection.StatsOutputStream
close, flush, getBitRateString, getSize, getTime, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatsOutputStream

public StatsOutputStream(OutputStream destination)
Deprecated. 


Copyright © 2008-2009. All Rights Reserved.