Package ca.uhn.hl7v2.protocol.impl
Class ParseChecker
java.lang.Object
ca.uhn.hl7v2.protocol.impl.ParseChecker
A debugging utility that logs raw messages and parsed/encoded versions, and warnings about
apparent discrepancies between them. This information is all logged to HapiLog under
the name of this class, at the "info" level.
- Version:
- $Revision: 1.1 $ updated on $Date: 2007-02-19 02:24:26 $ by $Author: jamesagnew $
- Author:
- Bryan Tripp
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckParse(String originalMessageText, Message parsedMessage, Parser parser) Encodes the given message and compares it to the given string.
-
Constructor Details
-
ParseChecker
public ParseChecker()
-
-
Method Details
-
checkParse
public static void checkParse(String originalMessageText, Message parsedMessage, Parser parser) throws HL7Exception Encodes the given message and compares it to the given string. Any differences are noted in the file [hapi.home]/parse_check.txt. Ignores extra field delimiters.- Throws:
HL7Exception
-