List of utility methods to do Charset Create
String | getCanonicalCharset(String charset) get Canonical Charset return Charset.forName(charset).name();
|
String | getCanonicalCharset(String charset) get Canonical Charset return Charset.forName(charset).name();
|
Charset | getCharset() get Charset return _charset;
|
Charset | getCharset() Gets the charset used by the write method. return charset;
|
Charset | getCharset(int cpgid, int gcsgid) get Charset Charset result; if (cpgid == 850) result = Charset.forName("ibm850"); else if (cpgid == 500) result = CHARSET_IBM500; else if (cpgid == 1200) result = Charset.forName("UTF-16"); else if (cpgid == 1252) ... |
Charset | getCharset(int ibmCharacterSetId) Returns the Charset#name() associated with the given Associations are defined by Charset#aliases() ; special cases are defined by IBM Websphere MQ Infocenter - Character set identifiers Charset charset; switch (ibmCharacterSetId) { case IBM_CHARACTER_SET_ID_UNICODE: charset = UNICODE; break; case IBM_CHARACTER_SET_ID_UTF8: charset = UTF8; break; ... |
Charset | getCharSet(String charset) get Char Set return Charset.forName(charset);
|
java.nio.charset.Charset | getCharset(String charsetName) get Charset if (charsetName == null) return StandardCharsets.UTF_8; return java.nio.charset.Charset.forName(charsetName); |
Charset | getCharset(String charsetName) get Charset Charset charset = Charset.forName(charsetName);
CHARSET_CACHE.put(charsetName, charset);
return charset;
|
String | getCharset(String contentType) get Charset Matcher matcher = patternForCharset.matcher(contentType); if (matcher.find()) { String charset = matcher.group(1); if (Charset.isSupported(charset)) { return charset; return null; ... |