Package org.apache.storm.utils
Class BufferInputStream
java.lang.Object
org.apache.storm.utils.BufferInputStream
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
ConstructorDescriptionBufferInputStream
(InputStream stream) BufferInputStream
(InputStream stream, int bufferSize) -
Method Summary
-
Constructor Details
-
BufferInputStream
-
BufferInputStream
-
-
Method Details
-
read
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-