Java Globus API: Class MyInputStream
org.globus.mds.gsi.common
Class MyInputStream
java.lang.Object
|
+--java.io.InputStream
|
+--org.globus.mds.gsi.common.MyInputStream
- public class MyInputStream
- extends java.io.InputStream
| Methods inherited from class java.io.InputStream |
available, mark, markSupported, read, reset, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MyInputStream
public MyInputStream()
addData
public void addData(byte[] buff)
abort
public void abort()
hasData
public boolean hasData()
setInputStream
public void setInputStream(java.io.InputStream in)
read
public int read(byte[] data,
int off,
int len)
throws java.io.IOException
- Overrides:
read in class java.io.InputStream
read
public int read()
throws java.io.IOException
- Overrides:
read in class java.io.InputStream
close
public void close()
throws java.io.IOException
- Overrides:
close in class java.io.InputStream
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object