public class MinLLPReader extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CHARSET_KEY
Deprecated.
Use
MllpConstants.CHARSET_KEY instead |
| Constructor and Description |
|---|
MinLLPReader() |
MinLLPReader(InputStream in) |
MinLLPReader(InputStream in,
Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the underlying stream and any other resources that should be closed.
|
protected Charset |
getCharset() |
protected T |
getDecoder() |
String |
getMessage()
Reads a complete HL7 message from the underlying input stream
|
protected ca.uhn.hl7v2.llp.MllpDecoder |
initDecoder() |
void |
setInputStream(InputStream in)
Sets the InputStream from which to read messages.
|
@Deprecated public static final String CHARSET_KEY
MllpConstants.CHARSET_KEY insteadpublic MinLLPReader() throws IOException
IOExceptionpublic MinLLPReader(InputStream in) throws IOException
IOExceptionpublic MinLLPReader(InputStream in, Charset charset) throws IOException
IOExceptionprotected ca.uhn.hl7v2.llp.MllpDecoder initDecoder()
protected Charset getCharset()
public void setInputStream(InputStream in) throws IOException
HL7ReadergetMessage().setInputStream in interface HL7ReaderIOExceptionpublic void close() throws IOException
HL7Readerclose in interface HL7ReaderIOExceptionpublic String getMessage() throws IOException, LLPException
HL7ReadergetMessage in interface HL7ReaderIOExceptionLLPExceptionprotected T getDecoder()
Copyright © 2001–2017 University Health Network. All rights reserved.