org.apache.storm.utils

## Class BufferFileInputStream

- java.lang.Object
- - org.apache.storm.utils.BufferFileInputStream

-     public class BufferFileInputStream
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BufferFileInputStream(String file)`
    `BufferFileInputStream(String file, int bufferSize)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `byte[]` | `read()`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### BufferFileInputStream

          public BufferFileInputStream(String file,
                                       int bufferSize)
                                throws FileNotFoundException

      Throws:
        `FileNotFoundException`

    - #### BufferFileInputStream

          public BufferFileInputStream(String file)
                                throws FileNotFoundException

      Throws:
        `FileNotFoundException`

  - ### Method Detail

    - #### read

          public byte[] read()
                      throws IOException

      Throws:
        `IOException`

    - #### close

          public void close()
                     throws IOException

      Throws:
        `IOException`

Copyright © 2021 The Apache Software Foundation. All rights reserved.