Lines Matching refs:charset
56 // Is the charset encoder usable or available.
69 * Returns a MIME charset name of this encoding.
124 Object charset = CharsetMethods.fgCharsetForNameMethod.invoke(null, fArgsForMethod);
125 if (((Boolean) CharsetMethods.fgCharsetCanEncodeMethod.invoke(charset, (Object[]) null)).booleanValue()) {
126 fCharsetEncoder = CharsetMethods.fgCharsetNewEncoderMethod.invoke(charset, (Object[]) null);
128 // This charset cannot be used for encoding, don't try it again...
145 // obviously can't use this charset encoder; possibly a JDK bug
194 * Holder of methods from java.nio.charset.Charset and java.nio.charset.CharsetEncoder.
198 // Method: java.nio.charset.Charset.forName(java.lang.String)
201 // Method: java.nio.charset.Charset.canEncode()
204 // Method: java.nio.charset.Charset.newEncoder()
207 // Method: java.nio.charset.CharsetEncoder.canEncode(char)
210 // Flag indicating whether or not java.nio.charset.* is available.
218 Class charsetClass = Class.forName("java.nio.charset.Charset");
219 Class charsetEncoderClass = Class.forName("java.nio.charset.CharsetEncoder");
227 // Whatever the case, we cannot use java.nio.charset.*.