类 RenewableCipherLiteInputStream

  • 所有已实现的接口:
    Releasable, java.io.Closeable, java.lang.AutoCloseable

    public final class RenewableCipherLiteInputStream
    extends CipherLiteInputStream
    A specific kind of 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).
    • 字段概要

      • 从类继承的字段 java.io.FilterInputStream

        in
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      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)  
      • 从类继承的方法 java.io.InputStream

        nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • 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.IOException
        Resets 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