Closeable, AutoCloseablepublic class GlobusFileInputStream extends GlobusInputStream
| Constructor | Description |
|---|---|
GlobusFileInputStream(String file) |
| Modifier and Type | Method | 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, readAllBytes, readNBytes, reset, skip, transferTopublic 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 AutoCloseableclose in interface Closeableclose 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 © 2018. All rights reserved.