org.w3c.jwput.tui
Class StreamMonitor

java.lang.Object
  |
  +--org.w3c.jwput.tui.StreamMonitor
All Implemented Interfaces:
ByteCountListener

public class StreamMonitor
extends java.lang.Object
implements ByteCountListener

Monitor a Stream


Method Summary
 void bytesRead(long n)
          n bytes read
 void streamClosed()
          The stream has been closed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

bytesRead

public void bytesRead(long n)
Description copied from interface: ByteCountListener
n bytes read
Specified by:
bytesRead in interface ByteCountListener
Following copied from interface: org.w3c.jwput.tui.ByteCountListener
Parameters:
the - number of bytes read

streamClosed

public void streamClosed()
Description copied from interface: ByteCountListener
The stream has been closed
Specified by:
streamClosed in interface ByteCountListener