public class BlobStoreBackedInputStreamImpl extends BackedInputStream
| Constructor and Description |
|---|
BlobStoreBackedInputStreamImpl(org.jclouds.blobstore.BlobStore blobStore,
String bucket,
String key,
DataBlockUtils.VersionCheck versionCheck,
long objectLen,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long position) |
void |
seekForward(long position) |
mark, markSupported, read, reset, skippublic BlobStoreBackedInputStreamImpl(org.jclouds.blobstore.BlobStore blobStore,
String bucket,
String key,
DataBlockUtils.VersionCheck versionCheck,
long objectLen,
int bufferSize)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic void seek(long position)
seek in class BackedInputStreampublic void seekForward(long position)
throws IOException
seekForward in class BackedInputStreamIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class InputStreampublic int available()
throws IOException
available in class InputStreamIOExceptionCopyright © 2017–2022 Apache Software Foundation. All rights reserved.