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
IOException
public MinLLPReader(InputStream in) throws IOException
IOException
public MinLLPReader(InputStream in, Charset charset) throws IOException
IOException
protected ca.uhn.hl7v2.llp.MllpDecoder initDecoder()
protected Charset getCharset()
public void setInputStream(InputStream in) throws IOException
HL7Reader
getMessage()
.setInputStream
in interface HL7Reader
IOException
public void close() throws IOException
HL7Reader
close
in interface HL7Reader
IOException
public String getMessage() throws IOException, LLPException
HL7Reader
getMessage
in interface HL7Reader
IOException
LLPException
protected T getDecoder()
Copyright © 2001–2017 University Health Network. All rights reserved.