@NotThreadSafe public final class GCSInputStream extends InputStream
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n)
This method leverages the ability to open a stream from GCS from a given offset.
|
available, mark, markSupported, read, resetpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamn - number of bytes to skipIOException - if an error occurs when requesting from GCSCopyright © 2017. All Rights Reserved.