deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.framework.util
Class CharsetUtils

java.lang.Object
  extended by org.deegree.framework.util.CharsetUtils

public final class CharsetUtils
extends Object

Since:
2.0
Version:
$Revision: 9339 $, 1.0. $Revision: 9339 $, $Date: 2007-12-27 13:31:52 +0100 (Do, 27 Dez 2007) $
Author:
Andreas Poth, last edited by: $Author: apoth $

Method Summary
static String convertFromUnicode(String input, String targetCharset)
           
static String convertToUnicode(String input, String inCharset)
           
static String getSystemCharset()
          returns the name of the charset that is passed to the JVM as system property -DCHARSET=...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSystemCharset

public static String getSystemCharset()
returns the name of the charset that is passed to the JVM as system property -DCHARSET=... If no charset has been defined UTF-8 will be returned as default.

Returns:
the name of the charset that is passed to the JVM as system property -DCHARSET=... If no charset has been defined UTF-8 will be returned as default.

convertToUnicode

public static String convertToUnicode(String input,
                                      String inCharset)

convertFromUnicode

public static String convertFromUnicode(String input,
                                        String targetCharset)

deegree 2.2 (2008/12/22 11:33 build-3038-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net