org.deegree.framework.util
Class CharsetUtils
java.lang.Object
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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net