Package ca.uhn.hl7v2.llp
Class ExtendedMinLLPReader
java.lang.Object
ca.uhn.hl7v2.llp.ExtendedMinLLPReader
- All Implemented Interfaces:
HL7Reader
ExtendedMllpReader uses a message-dependent decoder to respect a
potentially populated MSH-18.
- Author:
- Christian Ohr
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the underlying stream and any other resources that should be closed.protected Charsetprotected ca.uhn.hl7v2.llp.ExtendedMllpDecoderReads a complete HL7 message from the underlying input streamprotected ca.uhn.hl7v2.llp.ExtendedMllpDecodervoidSets the InputStream from which to read messages.
-
Constructor Details
-
ExtendedMinLLPReader
- Throws:
IOException
-
ExtendedMinLLPReader
- Throws:
IOException
-
ExtendedMinLLPReader
- Throws:
IOException
-
-
Method Details
-
initDecoder
-
getCharset
-
setInputStream
Description copied from interface:HL7ReaderSets the InputStream from which to read messages. The InputStream must be set before any calls togetMessage().- Specified by:
setInputStreamin interfaceHL7Reader
-
close
Description copied from interface:HL7ReaderCloses the underlying stream and any other resources that should be closed.- Specified by:
closein interfaceHL7Reader- Throws:
IOException
-
getMessage
Description copied from interface:HL7ReaderReads a complete HL7 message from the underlying input stream- Specified by:
getMessagein interfaceHL7Reader- Throws:
IOExceptionLLPException
-
getDecoder
protected ca.uhn.hl7v2.llp.ExtendedMllpDecoder getDecoder()
-