Searched refs:asCharSource (Results 1 – 4 of 4) sorted by relevance
/external/guava/guava/src/com/google/common/io/ |
D | Resources.java | 87 public static CharSource asCharSource(URL url, Charset charset) { in asCharSource() method in Resources 88 return asByteSource(url).asCharSource(charset); in asCharSource() 113 return asCharSource(url, charset).read(); in toString() 129 return asCharSource(url, charset).readLines(callback); in readLines()
|
D | Files.java | 215 public static CharSource asCharSource(File file, Charset charset) { in asCharSource() method in Files 216 return asByteSource(file).asCharSource(charset); in asCharSource() 264 return asCharSource(file, charset).read(); in toString() 366 asCharSource(from, charset).copyTo(to); in copy() 513 return asCharSource(file, charset).readFirstLine(); in readFirstLine() 564 return asCharSource(file, charset).readLines(callback); in readLines()
|
D | ByteSource.java | 72 public CharSource asCharSource(Charset charset) { in asCharSource() method in ByteSource 558 public CharSource asCharSource(Charset charset) { in asCharSource() method in ByteSource.EmptyByteSource
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | SourceSinkFactories.java | 109 .asCharSource(Charsets.UTF_8); in asCharSourceFactory() 350 return Files.asCharSource(file, Charsets.UTF_8); 419 return Resources.asCharSource(getFile().toURI().toURL(), Charsets.UTF_8);
|