backtype.storm.utils
Class BufferFileInputStream
java.lang.Object
backtype.storm.utils.BufferFileInputStream
public class BufferFileInputStream
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferFileInputStream
public BufferFileInputStream(String file,
int bufferSize)
throws FileNotFoundException
- Throws:
FileNotFoundException
BufferFileInputStream
public BufferFileInputStream(String file)
throws FileNotFoundException
- Throws:
FileNotFoundException
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.