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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 serverport - port number of the gass serverfile - 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 usehost - host name of the gass serverport - port number of the gass serverfile - file to retrieve from the server