Searched defs:csn (Results 1 - 5 of 5) sorted by relevance
/libcore/ojluni/src/main/java/java/io/ |
H A D | PrintStream.java | 89 * @throws NullPointerException is csn is null 92 private static Charset toCharset(String csn) argument 95 requireNonNull(csn, "charsetName"); 97 return Charset.forName(csn); 100 throw new UnsupportedEncodingException(csn); 231 * @param csn 251 public PrintStream(String fileName, String csn) argument 255 this(false, toCharset(csn), new FileOutputStream(fileName)); 302 * @param csn 322 public PrintStream(File file, String csn) argument [all...] |
H A D | PrintWriter.java | 79 * @throws NullPointerException is csn is null 82 private static Charset toCharset(String csn) argument 85 Objects.requireNonNull(csn, "charsetName"); 87 return Charset.forName(csn); 90 throw new UnsupportedEncodingException(csn); 209 * @param csn 229 public PrintWriter(String fileName, String csn) argument 232 this(toCharset(csn), new File(fileName)); 280 * @param csn 300 public PrintWriter(File file, String csn) argument [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | PrintStreamTest.java | 58 public MockPrintStream(String fileName, String csn) throws FileNotFoundException, UnsupportedEncodingException { argument 59 super(fileName, csn);
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Scanner.java | 589 * @throws NullPointerException is csn is null 592 private static Charset toCharset(String csn) { argument 593 Objects.requireNonNull(csn, "charsetName"); 595 return Charset.forName(csn);
|
H A D | Formatter.java | 1869 * @throws NullPointerException is csn is null 1872 private static Charset toCharset(String csn) argument 1875 Objects.requireNonNull(csn, "charsetName"); 1877 return Charset.forName(csn); 1880 throw new UnsupportedEncodingException(csn); 2017 * @param csn 2035 public Formatter(String fileName, String csn) argument 2038 this(fileName, csn, Locale.getDefault(Locale.Category.FORMAT)); 2051 * @param csn 2074 public Formatter(String fileName, String csn, Local argument 2146 Formatter(File file, String csn) argument 2185 Formatter(File file, String csn, Locale l) argument 2252 Formatter(OutputStream os, String csn) argument 2278 Formatter(OutputStream os, String csn, Locale l) argument [all...] |
Completed in 78 milliseconds