Package org.apache.storm.utils

# Class BufferFileInputStream

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

public class BufferFileInputStream extends Object

- ## Constructor Summary

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  `byte[]`
  `read()`

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

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

- ## Constructor Details

  - ### BufferFileInputStream

    public BufferFileInputStream(String file, int bufferSize) throws FileNotFoundException
    Throws:
      `FileNotFoundException`

  - ### BufferFileInputStream

    public BufferFileInputStream(String file) throws FileNotFoundException
    Throws:
      `FileNotFoundException`

- ## Method Details

  - ### read

    public byte[] read() throws IOException
    Throws:
      `IOException`

  - ### close

    public void close() throws IOException
    Throws:
      `IOException`