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 InputStreamIOExceptionpublic int read(byte[] byt)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] byt,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long skip)
throws IOException
skip in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStreampublic void mark(int readlimit)
mark in class InputStreampublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void ensureEverythingIsReleased()
Copyright © 2018 The Apache Software Foundation. All rights reserved.