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 int
available()
int
read()
int
read(byte[] array)
int
read(byte[] array, int off, int len)
void
reset()
-
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:
read
in classInputStream
- Throws:
IOException
-
read
public int read(byte[] array) throws IOException
- Overrides:
read
in classInputStream
- Throws:
IOException
-
read
public int read(byte[] array, int off, int len) throws IOException
- Overrides:
read
in classInputStream
- Throws:
IOException
-
reset
public void reset() throws IOException
- Overrides:
reset
in classInputStream
- Throws:
IOException
-
available
public int available() throws IOException
- Overrides:
available
in classInputStream
- Throws:
IOException
-
-