mailpuccino
Class MonitoredInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
mailpuccino.MonitoredInputStream
- All Implemented Interfaces:
- MonitoredStream
- public class MonitoredInputStream
- extends java.io.FilterInputStream
- implements MonitoredStream
Fields inherited from class java.io.FilterInputStream |
in |
Methods inherited from class java.io.FilterInputStream |
available, close, markSupported, read, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Temp
int Temp
Temp2
int Temp2
BytesRead
int BytesRead
MarkedBytesRead
int MarkedBytesRead
Granulity
int Granulity
MonitoredInputStream
public MonitoredInputStream(java.io.InputStream In,
int Granulity)
resetCounter
public void resetCounter()
- Specified by:
resetCounter
in interface MonitoredStream
getBytesDone
public int getBytesDone()
- Specified by:
getBytesDone
in interface MonitoredStream
setGranulity
public void setGranulity(int New)
- Specified by:
setGranulity
in interface MonitoredStream
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
mark
public void mark(int readlimit)
reset
public void reset()
throws java.io.IOException
- Throws:
java.io.IOException