public class HL7BufferStream extends HL7Stream
| Constructor and Description |
|---|
HL7BufferStream() |
| Modifier and Type | Method and Description |
|---|---|
int |
setBufferStream(java.io.ByteArrayInputStream objByteArrayInputStream,
java.io.ByteArrayOutputStream objByteArrayOutputStream)
Sets ByteArrayStreams to BufferStream.
|
int |
setInputStream(java.io.ByteArrayInputStream objByteArrayInputStream)
Sets the ByteArrayInputStream to BufferStream.
|
int |
setOutputStream(java.io.ByteArrayOutputStream objByteArrayOutputStream)
Sets the ByteArrayOutputStream to BufferStream.
|
byte[] |
toByteArray()
Retrieves the internal buffer of the ByteArrayOutputStream.
|
available, close, endSend, getReadBytes, getStream, mark, readBuffer, readByte, readChar, readString, reset, skip, startReceive, writeBuffer, writeByte, writeChar, writeStringpublic int setInputStream(java.io.ByteArrayInputStream objByteArrayInputStream)
objByteArrayInputStream - object of ByteArrayInputStreampublic int setOutputStream(java.io.ByteArrayOutputStream objByteArrayOutputStream)
objByteArrayOutputStream - object of ByteArrayOutputStreampublic int setBufferStream(java.io.ByteArrayInputStream objByteArrayInputStream,
java.io.ByteArrayOutputStream objByteArrayOutputStream)
objByteArrayInputStream - object of ByteArrayInputStreamobjByteArrayOutputStream - object of ByteArrayOutputStreampublic byte[] toByteArray()