类 RenewableCipherLiteInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- com.tencent.cos.xml.crypto.SdkFilterInputStream
-
- com.tencent.cos.xml.crypto.CipherLiteInputStream
-
- com.tencent.cos.xml.crypto.RenewableCipherLiteInputStream
-
- 所有已实现的接口:
Releasable,java.io.Closeable,java.lang.AutoCloseable
public final class RenewableCipherLiteInputStream extends CipherLiteInputStream
A specific kind ofCipherLiteInputStreamthat 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).
-
-
构造器概要
构造器 限定符 构造器 说明 protectedRenewableCipherLiteInputStream(java.io.InputStream is)RenewableCipherLiteInputStream(java.io.InputStream is, com.tencent.cos.xml.crypto.CipherLite cipherLite)RenewableCipherLiteInputStream(java.io.InputStream is, com.tencent.cos.xml.crypto.CipherLite c, int buffsize)RenewableCipherLiteInputStream(java.io.InputStream is, com.tencent.cos.xml.crypto.CipherLite c, int buffsize, boolean multipart, boolean lastMultiPart)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidmark(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).booleanmarkSupported()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).intread()intread(byte[] b)intread(byte[] b, int off, int len)voidreset()Resets back to the very beginning of the stream.longskip(long n)-
从类继承的方法 com.tencent.cos.xml.crypto.CipherLiteInputStream
available, close
-
从类继承的方法 com.tencent.cos.xml.crypto.SdkFilterInputStream
abort, abortIfNeeded, isAborted, release
-
-
-
-
构造器详细资料
-
RenewableCipherLiteInputStream
public RenewableCipherLiteInputStream(java.io.InputStream is, com.tencent.cos.xml.crypto.CipherLite cipherLite)
-
RenewableCipherLiteInputStream
public RenewableCipherLiteInputStream(java.io.InputStream is, com.tencent.cos.xml.crypto.CipherLite c, int buffsize)
-
RenewableCipherLiteInputStream
public RenewableCipherLiteInputStream(java.io.InputStream is, com.tencent.cos.xml.crypto.CipherLite c, int buffsize, boolean multipart, boolean lastMultiPart)
-
RenewableCipherLiteInputStream
protected RenewableCipherLiteInputStream(java.io.InputStream is)
-
-
方法详细资料
-
markSupported
public 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).- 覆盖:
markSupported在类中CipherLiteInputStream
-
mark
public 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).- 覆盖:
mark在类中CipherLiteInputStream- 抛出:
java.lang.UnsupportedOperationException- if mark is called after this stream has been accessed.
-
reset
public void reset() throws java.io.IOExceptionResets back to the very beginning of the stream.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在类中CipherLiteInputStream- 抛出:
java.io.IOException
-
read
public int read() throws java.io.IOException- 覆盖:
read在类中CipherLiteInputStream- 抛出:
java.io.IOException
-
read
public int read(byte[] b) throws java.io.IOException- 覆盖:
read在类中CipherLiteInputStream- 抛出:
java.io.IOException
-
read
public int read(byte[] b, int off, int len) throws java.io.IOException- 覆盖:
read在类中CipherLiteInputStream- 抛出:
java.io.IOException
-
skip
public long skip(long n) throws java.io.IOException- 覆盖:
skip在类中CipherLiteInputStream- 抛出:
java.io.IOException
-
-