Searched refs:makeReadable (Results 1 – 1 of 1) sorted by relevance
/libcore/ojluni/src/main/java/java/util/ |
D | Scanner.java | 587 this(makeReadable(Objects.requireNonNull(source, "source"), toCharset(charsetName)), in Scanner() 606 private static Readable makeReadable(InputStream source, Charset charset) { in makeReadable() method in Scanner 644 this(makeReadable((ReadableByteChannel)(new FileInputStream(source).getChannel()), dec)); in Scanner() 660 private static Readable makeReadable(ReadableByteChannel source, in makeReadable() method in Scanner 705 this(makeReadable(Files.newInputStream(source), charset)); in Scanner() 727 this(makeReadable(Objects.requireNonNull(source, "source")), in Scanner() 731 private static Readable makeReadable(ReadableByteChannel source) { in makeReadable() method in Scanner 732 return makeReadable(source, Charset.defaultCharset().newDecoder()); in makeReadable() 747 this(makeReadable(Objects.requireNonNull(source, "source"), toDecoder(charsetName)), in Scanner()
|