public class AdjustedRangeInputStream
extends java.io.InputStream
| コンストラクタと説明 |
|---|
AdjustedRangeInputStream(java.io.InputStream objectContents,
long rangeBeginning,
long rangeEnd)
Creates a new DecryptedContentsInputStream object.
|
public AdjustedRangeInputStream(java.io.InputStream objectContents,
long rangeBeginning,
long rangeEnd)
throws java.io.IOException
objectContents - The input stream containing the object contents retrieved from S3rangeBeginning - The position of the left-most byte desired by the userrangeEnd - The position of the right-most byte desired by the userjava.io.IOException - If there are errors skipping to the left-most byte desired by the user.public int read()
throws java.io.IOException
read クラス内 java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buffer,
int offset,
int length)
throws java.io.IOException
read クラス内 java.io.InputStreamjava.io.IOExceptionpublic int available()
throws java.io.IOException
available クラス内 java.io.InputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close インタフェース内 java.io.Closeableclose インタフェース内 java.lang.AutoCloseableclose クラス内 java.io.InputStreamjava.io.IOException