public class UnicodeUtility
extends java.lang.Object
Constructor and Description |
---|
UnicodeUtility() |
Modifier and Type | Method and Description |
---|---|
static java.lang.CharSequence |
decode(Env env,
StringValue str,
java.lang.String charset) |
static java.lang.CharSequence |
decode(Env env,
StringValue str,
java.lang.String charset,
java.lang.String replacement,
boolean isIgnoreErrors) |
static StringValue |
decodeEncode(Env env,
StringValue str,
java.lang.String inCharset,
java.lang.String outCharset,
java.lang.String replacement,
boolean isIgnoreErrors) |
static StringValue |
encode(Env env,
java.lang.CharSequence str,
java.lang.String charset) |
static StringValue |
encode(Env env,
java.lang.CharSequence str,
java.lang.String charset,
java.lang.String replacement,
boolean isIgnoreErrors) |
static StringValue |
utf8Clean(Env env,
StringValue str,
java.lang.String replacement,
boolean isIgnore) |
public static StringValue utf8Clean(Env env, StringValue str, java.lang.String replacement, boolean isIgnore)
public static java.lang.CharSequence decode(Env env, StringValue str, java.lang.String charset)
public static java.lang.CharSequence decode(Env env, StringValue str, java.lang.String charset, java.lang.String replacement, boolean isIgnoreErrors)
public static StringValue encode(Env env, java.lang.CharSequence str, java.lang.String charset)
public static StringValue encode(Env env, java.lang.CharSequence str, java.lang.String charset, java.lang.String replacement, boolean isIgnoreErrors)
public static StringValue decodeEncode(Env env, StringValue str, java.lang.String inCharset, java.lang.String outCharset, java.lang.String replacement, boolean isIgnoreErrors)