|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.framework.util.CharsetUtils
public final class CharsetUtils
Method Summary | |
---|---|
static String |
convertFromUnicode(String input,
String targetCharset)
A method to convert an input string in UTF-8 to a given charset by using CharsetDecoder |
static String |
convertToUnicode(String input,
String inCharset)
A method to convert an input string from a given charset to UTF-8 by using CharsetEncoder |
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 |
---|
public static String getSystemCharset()
public static String convertToUnicode(String input, String inCharset)
CharsetEncoder
input
- inCharset
-
public static String convertFromUnicode(String input, String targetCharset)
CharsetDecoder
input
- targetCharset
-
|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org