com.caucho.jms.util
Class BytesMessageInputStream
java.lang.Object
java.io.InputStream
com.caucho.jms.util.BytesMessageInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class BytesMessageInputStream
- extends java.io.InputStream
An input stream that reads from a BytesMessage.
Field Summary |
protected static java.util.logging.Logger |
log
|
Method Summary |
int |
read()
|
int |
read(byte[] buffer)
|
int |
read(byte[] buffer,
int offset,
int length)
|
Methods inherited from class java.io.InputStream |
available, close, mark, markSupported, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static java.util.logging.Logger log
BytesMessageInputStream
public BytesMessageInputStream(BytesMessage message)
read
public int read()
throws java.io.IOException
- Specified by:
read
in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read(byte[] buffer,
int offset,
int length)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read(byte[] buffer)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
- Throws:
java.io.IOException