public class S3DataInputStream extends FSDataInputStream
FSDataInputStream that downloads its data from Amazon S3 in the background.
Essentially, this class is just a wrapper to the Amazon AWS SDK.public int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic void seek(long desired)
throws IOException
seek in class FSDataInputStreamIOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.