ca.uhn.hl7v2.protocol.impl
Class ParseChecker
java.lang.Object
ca.uhn.hl7v2.protocol.impl.ParseChecker
public class ParseChecker
- extends Object
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
|
Method Summary |
static void |
checkParse(String originalMessageText,
Message parsedMessage,
Parser parser)
Encodes the given message and compares it to the given string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParseChecker
public ParseChecker()
checkParse
public static void checkParse(String originalMessageText,
Message parsedMessage,
Parser parser)
throws HL7Exception,
IOException
- 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
IOException
Copyright © 2001-2012 University Health Network. All Rights Reserved.