MyInputStream (Java Globus API)

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


Constructor Summary
MyInputStream()
           
 
Method Summary
 void abort()
           
 void addData(byte[] buff)
           
 void close()
           
 boolean hasData()
           
 int read()
           
 int read(byte[] data, int off, int len)
           
 void setInputStream(java.io.InputStream in)
           
 java.lang.String toString()
           
 
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
 

Constructor Detail

MyInputStream

public MyInputStream()
Method Detail

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
java.io.IOException

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
java.io.IOException

close

public void close()
           throws java.io.IOException
Overrides:
close in class java.io.InputStream
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object