public final class RenewableCipherLiteInputStream extends CipherLiteInputStream
CipherLiteInputStream that supports partial
mark-and-reset in the sense that, if the underlying input stream supports
mark-and-reset, this input stream can then be marked at and get reset back to
the very beginning of the stream (but not anywhere else).in| 限定符 | 构造器和说明 |
|---|---|
protected |
RenewableCipherLiteInputStream(InputStream is) |
|
RenewableCipherLiteInputStream(InputStream is,
com.qcloud.cos.internal.crypto.CipherLite cipherLite) |
|
RenewableCipherLiteInputStream(InputStream is,
com.qcloud.cos.internal.crypto.CipherLite c,
int buffsize) |
|
RenewableCipherLiteInputStream(InputStream is,
com.qcloud.cos.internal.crypto.CipherLite c,
int buffsize,
boolean multipart,
boolean lastMultiPart) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
mark(int readlimit)
Mark and reset is currently only partially supported, in the sense that,
if the underlying input stream supports mark-and-reset, this input stream
can then be marked at and get reset back to the very beginning of the
stream (but not anywhere else).
|
boolean |
markSupported()
Mark and reset is currently only partially supported, in the sense that,
if the underlying input stream supports mark-and-reset, this input stream
can then be marked at and get reset back to the very beginning of the
stream (but not anywhere else).
|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset()
Resets back to the very beginning of the stream.
|
long |
skip(long n) |
available, closeabort, abortIfNeeded, isAborted, releasepublic RenewableCipherLiteInputStream(InputStream is, com.qcloud.cos.internal.crypto.CipherLite cipherLite)
public RenewableCipherLiteInputStream(InputStream is, com.qcloud.cos.internal.crypto.CipherLite c, int buffsize)
public RenewableCipherLiteInputStream(InputStream is, com.qcloud.cos.internal.crypto.CipherLite c, int buffsize, boolean multipart, boolean lastMultiPart)
protected RenewableCipherLiteInputStream(InputStream is)
public boolean markSupported()
markSupported 在类中 CipherLiteInputStreampublic void mark(int readlimit)
mark 在类中 CipherLiteInputStreamUnsupportedOperationException - if mark is called after this stream has been accessed.public void reset()
throws IOException
Mark and reset is currently only partially supported, in the sense that, if the underlying input stream supports mark-and-reset, this input stream can then be marked at and get reset back to the very beginning of the stream (but not anywhere else).
reset 在类中 CipherLiteInputStreamIOExceptionpublic int read()
throws IOException
read 在类中 CipherLiteInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read 在类中 CipherLiteInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read 在类中 CipherLiteInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip 在类中 CipherLiteInputStreamIOExceptionCopyright © 2022. All rights reserved.