GassInputStream (Java Globus API)

org.globus.io.streams
Class GassInputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--org.globus.io.streams.GlobusInputStream
              |
              +--org.globus.io.streams.HTTPInputStream
                    |
                    +--org.globus.io.streams.GassInputStream

public class GassInputStream
extends HTTPInputStream


Field Summary
 
Fields inherited from class org.globus.io.streams.HTTPInputStream
gassS, input, size
 
Constructor Summary
GassInputStream(GlobusProxy proxy, java.lang.String host, int port, java.lang.String file)
          Opens Gass input stream in secure mode with specified user credentials.
GassInputStream(java.lang.String host, int port, java.lang.String file)
          Opens Gass input stream in secure mode with default user credentials.
 
Method Summary
protected  void init(java.lang.String host, int port, java.lang.String file)
           
 
Methods inherited from class org.globus.io.streams.HTTPInputStream
abort, available, close, get, getSize, read, read, read
 
Methods inherited from class java.io.InputStream
mark, markSupported, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GassInputStream

public GassInputStream(java.lang.String host,
                       int port,
                       java.lang.String file)
                throws GlobusProxyException,
                       java.io.IOException
Opens Gass input stream in secure mode with default user credentials.

Parameters:
host - host name of the gass server
port - port number of the gass server
file - file to retrieve from the server

GassInputStream

public GassInputStream(GlobusProxy proxy,
                       java.lang.String host,
                       int port,
                       java.lang.String file)
                throws GlobusProxyException,
                       java.io.IOException
Opens Gass input stream in secure mode with specified user credentials.

Parameters:
proxy - user credentials to use
host - host name of the gass server
port - port number of the gass server
file - file to retrieve from the server
Method Detail

init

protected void init(java.lang.String host,
                    int port,
                    java.lang.String file)
             throws java.io.IOException
Overrides:
init in class HTTPInputStream
java.io.IOException