Package org.apache.camel.component.jms
Class StreamMessageInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.apache.camel.component.jms.StreamMessageInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class StreamMessageInputStream extends InputStream
-
-
Constructor Summary
Constructors Constructor Description StreamMessageInputStream(javax.jms.StreamMessage message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intavailable()intread()intread(byte[] array)intread(byte[] array, int off, int len)voidreset()-
Methods inherited from class java.io.InputStream
close, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, skip, transferTo
-
-
-
-
Method Detail
-
read
public int read() throws IOException- Specified by:
readin classInputStream- Throws:
IOException
-
read
public int read(byte[] array) throws IOException- Overrides:
readin classInputStream- Throws:
IOException
-
read
public int read(byte[] array, int off, int len) throws IOException- Overrides:
readin classInputStream- Throws:
IOException
-
reset
public void reset() throws IOException- Overrides:
resetin classInputStream- Throws:
IOException
-
available
public int available() throws IOException- Overrides:
availablein classInputStream- Throws:
IOException
-
-