org.urhl7.utils
Class HL7Escape

java.lang.Object
  extended by org.urhl7.utils.HL7Escape

public class HL7Escape
extends Object

Class with static methods to escape/unescape HL7 messages


Method Summary
static String escape(char[] delimiters, String data)
          Escape any encoding characters correctly.
static String unescape(char[] delimiters, String data)
          Returns the data, properly unencoded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

unescape

public static String unescape(char[] delimiters,
                              String data)
Returns the data, properly unencoded

Returns:
unencoded data

escape

public static String escape(char[] delimiters,
                            String data)
Escape any encoding characters correctly.

Parameters:
data -