ca.uhn.hl7v2.llp
Class ExtendedMinLowerLayerProtocol

java.lang.Object
  extended by ca.uhn.hl7v2.llp.LowerLayerProtocol
      extended by ca.uhn.hl7v2.llp.ExtendedMinLowerLayerProtocol

public class ExtendedMinLowerLayerProtocol
extends LowerLayerProtocol

Minimal Lower Layer Protocol implementation which is detects the text character set being used by reading in the MSH-18 value. For example, if MSH-18 contains "ISO-8859-1", the message is parsed using 8859/1 charset encoding. If MSH-18 contains "UNICODE UTF-8", the message is parsed using UTF-8 charset encoding.

Please note the following warnings regarding the use of this class:

Author:
Jens Kristian Villadsen from Cetrea A/S

Constructor Summary
ExtendedMinLowerLayerProtocol()
           
 
Method Summary
 HL7Reader getReader(InputStream in)
          Returns an HL7Reader that implements message reading according to this protocol.
 HL7Writer getWriter(OutputStream theOut)
          Returns an HL7Writer that implements message writing according to this protocol.
 
Methods inherited from class ca.uhn.hl7v2.llp.LowerLayerProtocol
logCharacterReceived, makeLLP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedMinLowerLayerProtocol

public ExtendedMinLowerLayerProtocol()
Method Detail

getReader

public HL7Reader getReader(InputStream in)
                    throws LLPException
Returns an HL7Reader that implements message reading according to this protocol.

Specified by:
getReader in class LowerLayerProtocol
Throws:
LLPException

getWriter

public HL7Writer getWriter(OutputStream theOut)
                    throws LLPException
Returns an HL7Writer that implements message writing according to this protocol.

Specified by:
getWriter in class LowerLayerProtocol
Throws:
LLPException


Copyright © 2001-2012 University Health Network. All Rights Reserved.