Package org.globus.io.streams
Class GridFTPInputStream
java.lang.Object
java.io.InputStream
org.globus.io.streams.GlobusInputStream
org.globus.io.streams.FTPInputStream
org.globus.io.streams.GridFTPInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Field Summary
Fields inherited from class org.globus.io.streams.FTPInputStream
ftp, input, state
-
Constructor Summary
ConstructorsConstructorDescriptionGridFTPInputStream
(GSSCredential cred, String host, int port, String file) GridFTPInputStream
(GSSCredential cred, Authorization auth, String host, int port, String file, boolean reqDCAU) GridFTPInputStream
(GSSCredential cred, Authorization auth, String host, int port, String file, boolean passive, int type, boolean reqDCAU) -
Method Summary
Methods inherited from class org.globus.io.streams.FTPInputStream
abort, available, close, get, getSize, read, read, read
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
GridFTPInputStream
public GridFTPInputStream(GSSCredential cred, String host, int port, String file) throws IOException, FTPException - Throws:
IOException
FTPException
-
GridFTPInputStream
public GridFTPInputStream(GSSCredential cred, Authorization auth, String host, int port, String file, boolean reqDCAU) throws IOException, FTPException - Throws:
IOException
FTPException
-
GridFTPInputStream
public GridFTPInputStream(GSSCredential cred, Authorization auth, String host, int port, String file, boolean passive, int type, boolean reqDCAU) throws IOException, FTPException - Throws:
IOException
FTPException
-