public class S3ObjectInputStreamWrapper extends InputStream
Constructor and Description |
---|
S3ObjectInputStreamWrapper(com.amazonaws.services.s3.model.S3Object s3Object)
Create an input stream safely.
|
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
void |
ensureEverythingIsReleased()
ensureEverythingIsReleased as part of close process.
|
boolean |
equals(Object obj) |
protected void |
finalize() |
int |
hashCode() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] byt) |
int |
read(byte[] byt,
int off,
int len) |
void |
reset() |
long |
skip(long skip) |
String |
toString() |
public S3ObjectInputStreamWrapper(com.amazonaws.services.s3.model.S3Object s3Object)
s3Object
- s3Objectpublic int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] byt) throws IOException
read
in class InputStream
IOException
public int read(byte[] byt, int off, int len) throws IOException
read
in class InputStream
IOException
public long skip(long skip) throws IOException
skip
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public boolean markSupported()
markSupported
in class InputStream
public void mark(int readlimit)
mark
in class InputStream
public void reset() throws IOException
reset
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public void ensureEverythingIsReleased()
Copyright © 2018 The Apache Software Foundation. All rights reserved.