uk.org.ogsadai.common
Class PausableInputStream
java.lang.Object
|
+--java.io.InputStream
|
+--uk.org.ogsadai.common.PausableInputStream
- public class PausableInputStream
- extends java.io.InputStream
- Author:
- The OGSA-DAI Project Team
| Methods inherited from class java.io.InputStream |
available, close, mark, markSupported, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PausableInputStream
public PausableInputStream(java.io.InputStream inStream)
read
public int read()
throws java.io.IOException
- Specified by:
read in class java.io.InputStream
java.io.IOException
pause
public void pause()
proceed
public void proceed()
waitUntilPaused
public void waitUntilPaused()
throws java.lang.Exception
java.lang.Exception
waitUntilProceeding
public void waitUntilProceeding()
throws java.lang.Exception
java.lang.Exception
setFinished
public void setFinished()
isFinished
public boolean isFinished()
setError
public void setError(java.lang.Exception error)