Home
last modified time | relevance | path

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

/external/guava/guava/src/com/google/common/io/
DCharStreams.java87 public static CharSource asCharSource(String string) { in asCharSource() method in CharStreams
106 ByteStreams.asByteSource(in).asCharSource(charset)); in newReaderSupplier()
159 return asCharSource(from).copyTo(asCharSink(to)); in copy()
177 return asCharSource(from).copyTo(to); in copy()
228 return asCharSource(supplier).read(); in toString()
259 return asCharSource(supplier).readFirstLine(); in readFirstLine()
390 return asCharSource(input); in join()
562 public static CharSource asCharSource(
DResources.java110 return CharStreams.asInputSupplier(asCharSource(url, charset)); in newReaderSupplier()
119 public static CharSource asCharSource(URL url, Charset charset) { in asCharSource() method in Resources
120 return asByteSource(url).asCharSource(charset); in asCharSource()
145 return asCharSource(url, charset).read(); in toString()
DFiles.java217 public static CharSource asCharSource(File file, Charset charset) { in asCharSource() method in Files
218 return asByteSource(file).asCharSource(charset); in asCharSource()
304 return CharStreams.asInputSupplier(asCharSource(file, charset)); in newReaderSupplier()
368 return asCharSource(file, charset).read(); in toString()
463 CharStreams.asCharSource(from).copyTo(asCharSink(to, charset)); in copy()
529 asCharSource(from, charset).copyTo(CharStreams.asCharSink(to)); in copy()
544 asCharSource(from, charset).copyTo(to); in copy()
691 return asCharSource(file, charset).readFirstLine(); in readFirstLine()
DByteSource.java72 public CharSource asCharSource(Charset charset) { in asCharSource() method in ByteSource
573 public CharSource asCharSource(Charset charset) { in asCharSource() method in ByteSource.EmptyByteSource
/external/guava/guava-tests/test/com/google/common/io/
DSourceSinkFactories.java114 .asCharSource(Charsets.UTF_8); in asCharSourceFactory()
364 return Files.asCharSource(file, Charsets.UTF_8);
433 return Resources.asCharSource(getFile().toURI().toURL(), Charsets.UTF_8);
DFilesTest.java180 Files.copy(Files.asCharSource(i18nFile, Charsets.UTF_8), temp, in testCopyCharacters()