Searched refs:strCharset (Results 1 - 1 of 1) sorted by relevance

/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/
H A DUtility.java502 * @param strCharset null or "" means default charset
505 public static byte[] convertCharArrayToByteArray(char[] charArray, String strCharset) argument
515 if (strCharset == null || "".equals(strCharset)) {
517 } else if (Charset.isSupported(strCharset)) {
518 charSet = Charset.forName(strCharset);
521 e.initCause(new UnsupportedCharsetException(strCharset));

Completed in 18 milliseconds