|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.framework.util.CharsetUtils
public final class CharsetUtils
Method Summary | |
---|---|
static java.lang.String |
convertFromUnicode(java.lang.String input,
java.lang.String targetCharset)
A method to convert an input string in UTF-8 to a given charset by using CharsetDecoder |
static java.lang.String |
convertToUnicode(java.lang.String input,
java.lang.String inCharset)
A method to convert an input string from a given charset to UTF-8 by using CharsetEncoder |
static java.lang.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 java.lang.String getSystemCharset()
public static java.lang.String convertToUnicode(java.lang.String input, java.lang.String inCharset)
CharsetEncoder
input
- inCharset
-
public static java.lang.String convertFromUnicode(java.lang.String input, java.lang.String targetCharset)
CharsetDecoder
input
- targetCharset
-
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
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