backtype.storm.utils
Class BufferFileInputStream

java.lang.Object
  extended by backtype.storm.utils.BufferFileInputStream

public class BufferFileInputStream
extends Object


Constructor Summary
BufferFileInputStream(String file)
           
BufferFileInputStream(String file, int bufferSize)
           
 
Method Summary
 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 © 2014 The Apache Software Foundation. All Rights Reserved.