Lines Matching refs:charset
30 import java.nio.charset.Charset;
31 import java.nio.charset.IllegalCharsetNameException;
32 import java.nio.charset.UnsupportedCharsetException;
84 * Returns a charset object for the given charset name.
86 * @throws UnsupportedEncodingException if the charset is not supported
108 private PrintStream(boolean autoFlush, OutputStream out, Charset charset) {
111 this.charOut = new OutputStreamWriter(this, charset);
115 /* Variant of the private constructor so that the given charset name
118 * charset name.
120 private PrintStream(boolean autoFlush, Charset charset, OutputStream out)
123 this(autoFlush, out, charset);
185 * {@linkplain java.nio.charset.Charset#defaultCharset() default charset}
213 * specified file name and charset. This convenience constructor creates
216 * charset.
225 * The name of a supported {@linkplain java.nio.charset.Charset
226 * charset}
240 * If the named charset is not supported
247 // ensure charset is checked before the file is opened
256 * java.nio.charset.Charset#defaultCharset() default charset} for this
284 * specified file and charset. This convenience constructor creates
287 * charset.
296 * The name of a supported {@linkplain java.nio.charset.Charset
297 * charset}
311 * If the named charset is not supported
318 // ensure charset is checked before the file is opened