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, skip
public BlobStoreFileInputStream(BlobStoreFile part) throws IOException
IOException
public long getVersion() throws IOException
getVersion
in class InputStreamWithMeta
IOException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public int read(byte[] b) throws IOException
read
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public long getFileLength() throws IOException
getFileLength
in class InputStreamWithMeta
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.