Lines Matching refs:charset
30 import java.nio.charset.Charset;
31 import java.nio.charset.CharsetEncoder;
32 import java.nio.charset.IllegalCharsetNameException;
33 import java.nio.charset.UnsupportedCharsetException;
210 private final String charset;
247 * to the stream <code>out</code> using the given <code>charset</code>
252 * @param charset the name of the requested charset;
260 * if <code>out</code> or <code>charset</code> is <code>null</code>,
264 * if <code>charset</code> name is illegal
267 * if no support for the named charset is available
271 * if loaded charset does not support encoding
277 public XMLEncoder(OutputStream out, String charset, boolean declaration, int indentation) {
284 Charset cs = Charset.forName(charset);
286 this.charset = charset;
471 " encoding=" + quote(this.charset) + "?>");