com.aliyun.oss.common.comm.io

## 类 FixedLengthInputStream

- java.lang.Object
- - java.io.InputStream
  - - com.aliyun.oss.common.comm.io.FixedLengthInputStream

- 所有已实现的接口:
    Closeable, AutoCloseable

      public class FixedLengthInputStream
      extends InputStream

- - ### 构造器概要

    构造器
    构造器和说明
    `FixedLengthInputStream(InputStream instream, long length)`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `int` | `available()`
    `long` | `getLength()`
    `InputStream` | `getWrappedInputStream()`
    `void` | `mark(int readlimit)`
    `boolean` | `markSupported()`
    `int` | `read()`
    `void` | `reset()`
    `void` | `setLength(long length)`
    `void` | `setWrappedInputStream(InputStream instream)`
    `long` | `skip(long n)`

    - ### 从类继承的方法 java.io.InputStream

      `close, read, read`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### FixedLengthInputStream

          public FixedLengthInputStream(InputStream instream,
                                long length)

  - ### 方法详细资料

    - #### reset

          public void reset()
                     throws IOException

      覆盖:
        `reset` 在类中 `InputStream`
      抛出:
        `IOException`

    - #### markSupported

          public boolean markSupported()

      覆盖:
        `markSupported` 在类中 `InputStream`

    - #### mark

          public void mark(int readlimit)

      覆盖:
        `mark` 在类中 `InputStream`

    - #### available

          public int available()
                        throws IOException

      覆盖:
        `available` 在类中 `InputStream`
      抛出:
        `IOException`

    - #### skip

          public long skip(long n)
                    throws IOException

      覆盖:
        `skip` 在类中 `InputStream`
      抛出:
        `IOException`

    - #### getWrappedInputStream

          public InputStream getWrappedInputStream()

    - #### setWrappedInputStream

          public void setWrappedInputStream(InputStream instream)

    - #### getLength

          public long getLength()

    - #### setLength

          public void setLength(long length)

    - #### read

          public int read()
                   throws IOException

      指定者:
        `read` 在类中 `InputStream`
      抛出:
        `IOException`

Copyright © 2020. All Rights Reserved.