electric.util.io
Class MonitoringOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byelectric.util.io.MonitoringOutputStream

public class MonitoringOutputStream
extends java.io.OutputStream

MonitoringOutputStream

Author:
webMethods

Constructor Summary
MonitoringOutputStream(java.io.OutputStream out)
           
 
Method Summary
 long getBytesWritten()
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
close, flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitoringOutputStream

public MonitoringOutputStream(java.io.OutputStream out)
Parameters:
out -
Method Detail

write

public void write(int b)
           throws java.io.IOException
Parameters:
b -
Throws:
java.io.IOException

write

public void write(byte[] b)
           throws java.io.IOException
Parameters:
b -
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Parameters:
b -
off -
len -
Throws:
java.io.IOException

getBytesWritten

public long getBytesWritten()


copyright© 2001-2004 by webMethods All Rights Reserved.