public class ReadBucketAndFreeInputStream
extends java.io.FilterInputStream
Modifier and Type | Method and Description |
---|---|
void |
close() |
static java.io.InputStream |
create(Bucket data) |
int |
read(byte[] buf) |
int |
read(byte[] buf,
int offset,
int length) |
public static java.io.InputStream create(Bucket data) throws java.io.IOException
java.io.IOException
public int read(byte[] buf, int offset, int length) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] buf) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterInputStream
java.io.IOException