public class GlobusFileInputStream extends GlobusInputStream
| Constructor and Description |
|---|
GlobusFileInputStream(String file) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Aborts transfer.
|
int |
available() |
void |
close() |
long |
getSize()
Returns the total size of input data.
|
int |
read() |
int |
read(byte[] msg) |
int |
read(byte[] buf,
int off,
int len) |
mark, markSupported, reset, skippublic GlobusFileInputStream(String file) throws IOException
IOExceptionpublic long getSize()
GlobusInputStreamgetSize in class GlobusInputStreampublic void abort()
GlobusInputStreamabort in class GlobusInputStreampublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int read(byte[] msg)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] buf,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int read()
throws IOException
read in class GlobusInputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionCopyright © 2015. All rights reserved.