ca.uhn.hl7v2.llp
Class CharSetUtil

java.lang.Object
  extended by ca.uhn.hl7v2.llp.CharSetUtil

public class CharSetUtil
extends Object

Charset utility class

Author:
Jens Kristian Villadsen from Cetrea A/S

Constructor Summary
CharSetUtil()
           
 
Method Summary
static Charset convertHL7CharacterEncodingToCharSetvalue(String value)
          Accepts a charset name as defined by HL7 (ie.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharSetUtil

public CharSetUtil()
Method Detail

convertHL7CharacterEncodingToCharSetvalue

public static Charset convertHL7CharacterEncodingToCharSetvalue(String value)
                                                         throws EncodingNotSupportedException
Accepts a charset name as defined by HL7 (ie. an MSH-18 value) into a Java charset corresponding to that name

Parameters:
value - The MSH-18 field
Returns:
The MSH-18 field represented as CharSet
Throws:
EncodingNotSupportedException


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