protected class BlobStore.BlobStoreFileInputStream extends InputStreamWithMeta
Input stream implementation used for writing both the metadata containing the acl information and the blob data.
| Constructor and Description |
|---|
BlobStoreFileInputStream(BlobStoreFile part) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
long |
getFileLength() |
long |
getVersion() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
mark, markSupported, reset, skippublic BlobStoreFileInputStream(BlobStoreFile part) throws IOException
IOExceptionpublic long getVersion()
throws IOException
getVersion in class InputStreamWithMetaIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic long getFileLength()
throws IOException
getFileLength in class InputStreamWithMetaIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.