类 CipherLiteInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- com.tencent.cos.xml.crypto.SdkFilterInputStream
-
- com.tencent.cos.xml.crypto.CipherLiteInputStream
-
- 所有已实现的接口:
Releasable,java.io.Closeable,java.lang.AutoCloseable
- 直接已知子类:
RenewableCipherLiteInputStream
public class CipherLiteInputStream extends SdkFilterInputStream
-
-
构造器概要
构造器 限定符 构造器 说明 protectedCipherLiteInputStream(java.io.InputStream is)CipherLiteInputStream(java.io.InputStream is, com.tencent.cos.xml.crypto.CipherLite cipherLite)CipherLiteInputStream(java.io.InputStream is, com.tencent.cos.xml.crypto.CipherLite c, int buffsize)CipherLiteInputStream(java.io.InputStream is, com.tencent.cos.xml.crypto.CipherLite c, int buffsize, boolean multipart, boolean lastMultiPart)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intavailable()voidclose()voidmark(int readlimit)booleanmarkSupported()intread()intread(byte[] b)intread(byte[] buf, int off, int target_len)voidreset()longskip(long n)-
从类继承的方法 com.tencent.cos.xml.crypto.SdkFilterInputStream
abort, abortIfNeeded, isAborted, release
-
-
-
-
构造器详细资料
-
CipherLiteInputStream
public CipherLiteInputStream(java.io.InputStream is, com.tencent.cos.xml.crypto.CipherLite cipherLite)
-
CipherLiteInputStream
public CipherLiteInputStream(java.io.InputStream is, com.tencent.cos.xml.crypto.CipherLite c, int buffsize)
-
CipherLiteInputStream
public CipherLiteInputStream(java.io.InputStream is, com.tencent.cos.xml.crypto.CipherLite c, int buffsize, boolean multipart, boolean lastMultiPart)
-
CipherLiteInputStream
protected CipherLiteInputStream(java.io.InputStream is)
-
-
方法详细资料
-
read
public int read() throws java.io.IOException- 覆盖:
read在类中SdkFilterInputStream- 抛出:
java.io.IOException
-
read
public int read(byte[] b) throws java.io.IOException- 覆盖:
read在类中java.io.FilterInputStream- 抛出:
java.io.IOException
-
read
public int read(byte[] buf, int off, int target_len) throws java.io.IOException- 覆盖:
read在类中SdkFilterInputStream- 抛出:
java.io.IOException
-
skip
public long skip(long n) throws java.io.IOException- 覆盖:
skip在类中SdkFilterInputStream- 抛出:
java.io.IOException
-
available
public int available()
- 覆盖:
available在类中SdkFilterInputStream
-
close
public void close() throws java.io.IOException- 指定者:
close在接口中java.lang.AutoCloseable- 指定者:
close在接口中java.io.Closeable- 覆盖:
close在类中SdkFilterInputStream- 抛出:
java.io.IOException
-
markSupported
public boolean markSupported()
- 覆盖:
markSupported在类中SdkFilterInputStream
-
mark
public void mark(int readlimit)
- 覆盖:
mark在类中SdkFilterInputStream
-
reset
public void reset() throws java.io.IOExceptionSubclassing this method would need to take care in keeping all internal states consistent. REF: TT0036173414, ISSUE-JAVA-547.
- 覆盖:
reset在类中SdkFilterInputStream- 抛出:
java.io.IOException
-
-