org.w3c.jwput.tui
Class  ByteCountInputStream
java.lang.Object
  |
  +--java.io.InputStream
        |
        +--org.w3c.jwput.tui.ByteCountInputStream
- public class ByteCountInputStream- extends java.io.InputStream
A Stream that can be monitored by a ByteCountListener
- See Also: 
- ByteCountListener
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ByteCountInputStream
public ByteCountInputStream(java.io.InputStream in,
                            long step)
available
public int available()
              throws java.io.IOException
- 
- Overrides:
- availablein class- java.io.InputStream
 
mark
public void mark(int readlimit)
- 
- Overrides:
- markin class- java.io.InputStream
 
markSupported
public boolean markSupported()
- 
- Overrides:
- markSupportedin class- java.io.InputStream
 
reset
public void reset()
           throws java.io.IOException
- 
- Overrides:
- resetin class- java.io.InputStream
 
read
public int read()
         throws java.io.IOException
- 
- Overrides:
- readin class- java.io.InputStream
 
read
public int read(byte[] b)
         throws java.io.IOException
- 
- Overrides:
- readin class- java.io.InputStream
 
read
public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
- 
- Overrides:
- readin class- java.io.InputStream
 
skip
public long skip(long n)
          throws java.io.IOException
- 
- Overrides:
- skipin class- java.io.InputStream
 
check
protected void check()
close
public void close()
           throws java.io.IOException
- 
- Overrides:
- closein class- java.io.InputStream
 
getBytesRead
public long getBytesRead()
registerByteCountListener
public void registerByteCountListener(ByteCountListener listener)