Home
last modified time | relevance | path

Searched refs:asCharSource (Results 1 – 4 of 4) sorted by relevance

/external/guava/guava/src/com/google/common/io/
DResources.java87 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()
DFiles.java215 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()
DByteSource.java72 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/
DSourceSinkFactories.java109 .asCharSource(Charsets.UTF_8); in asCharSourceFactory()
350 return Files.asCharSource(file, Charsets.UTF_8);
419 return Resources.asCharSource(getFile().toURI().toURL(), Charsets.UTF_8);