Java Globus API: Class GassInputStream

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


Fields inherited from class org.globus.io.streams.HTTPInputStream
input, size, socket
 
Constructor Summary
GassInputStream(GSSCredential cred, Authorization auth, String host, int port, String file)
          Opens Gass input stream in secure mode with specified user credentials.
GassInputStream(String host, int port, String file)
          Opens Gass input stream in secure mode with default user credentials.
 
Methods inherited from class org.globus.io.streams.HTTPInputStream
abort, available, close, get, getSize, init, 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(String host,
                       int port,
                       String file)
                throws GassException,
                       GSSException,
                       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(GSSCredential cred,
                       Authorization auth,
                       String host,
                       int port,
                       String file)
                throws GassException,
                       GSSException,
                       IOException
Opens Gass input stream in secure mode with specified user credentials.
Parameters:
cred - 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