Searched refs:CharSource (Results 1 - 19 of 19) sorted by relevance

/external/guava/guava-tests/test/com/google/common/io/
H A DMultiReaderTest.java35 final CharSource source = newCharSource(testString);
37 CharSource reader = new CharSource() {
51 Reader joinedReader = CharSource.concat(reader, reader, reader).openStream();
57 CharSource source = newCharSource("a");
58 Iterable<? extends CharSource> list = ImmutableList.of(source, source);
59 Reader joinedReader = CharSource.concat(list).openStream();
70 CharSource source = newCharSource(testString);
71 Reader joinedReader = CharSource.concat(source, source).openStream();
78 private static CharSource newCharSourc
[all...]
H A DCharSourceTest.java41 * Tests for the default implementations of {@code CharSource} methods.
49 suite.addTest(CharSourceTester.tests("CharSource.wrap[CharSequence]",
51 suite.addTest(CharSourceTester.tests("CharSource.empty[]",
206 CharSource c1 = CharSource.wrap("abc");
207 CharSource c2 = CharSource.wrap("");
208 CharSource c3 = CharSource.wrap("de");
213 CharSource
[all...]
H A DSourceSinkFactory.java91 * Factory for {@link CharSource} instances.
93 public interface CharSourceFactory extends SourceFactory<CharSource, String> {
H A DTestCharSource.java30 public class TestCharSource extends CharSource implements TestStreamSupplier {
H A DSourceSinkFactories.java107 public CharSource createSource(String string) throws IOException {
179 public CharSource createSource(String data) throws IOException {
180 return CharSource.wrap(data);
213 public CharSource createSource(String data) throws IOException {
214 return CharSource.empty();
341 public CharSource createSource(String string) throws IOException {
417 public CharSource createSource(String string) throws IOException {
418 super.createSource(string); // just ignore returned CharSource
H A DSourceSinkTester.java97 return new CharSource() {
H A DCharSourceTester.java35 * A generator of {@code TestSuite} instances for testing {@code CharSource} implementations.
36 * Generates tests of a all methods on a {@code CharSource} given various inputs the source is
41 public class CharSourceTester extends SourceSinkTester<CharSource, String, CharSourceFactory> {
65 private CharSource source;
/external/guava/guava/src/com/google/common/io/
H A DCharSource.java41 * {@code CharSource} is not an open, stateful stream of characters that can be read and closed.
44 * <p>{@code CharSource} provides two kinds of methods:
60 * encoding} may be viewed as a {@code CharSource} using {@link ByteSource#asCharSource(Charset)}.
65 public abstract class CharSource { class
70 protected CharSource() {} method in class:CharSource
253 * Concatenates multiple {@link CharSource} instances into a single source. Streams returned from
260 * @return a {@code CharSource} containing the concatenated data
263 public static CharSource concat(Iterable<? extends CharSource> sources) {
268 * Concatenates multiple {@link CharSource} instance
[all...]
H A DMultiReader.java34 private final Iterator<? extends CharSource> it;
37 MultiReader(Iterator<? extends CharSource> readers) throws IOException {
H A DByteSource.java69 * Returns a {@link CharSource} view of this byte source that decodes bytes read from this source
72 public CharSource asCharSource(Charset charset) {
410 private final class AsCharSource extends CharSource {
558 public CharSource asCharSource(Charset charset) {
560 return CharSource.empty();
H A DResources.java82 * Returns a {@link CharSource} that reads from the given URL using the given
87 public static CharSource asCharSource(URL url, Charset charset) {
H A DFiles.java210 * Returns a new {@link CharSource} for reading character data from the given
215 public static CharSource asCharSource(File file, Charset charset) {
H A DBaseEncoding.java268 * {@code CharSource}.
270 @GwtIncompatible("ByteSource,CharSource")
271 public final ByteSource decodingSource(final CharSource encodedSource) {
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
H A DJavaWriter.java30 import com.google.common.io.CharSource;
184 CharSource.wrap(write(new StringBuilder())),
/external/guava/guava-testlib/src/com/google/common/testing/
H A DArbitraryInstances.java75 import com.google.common.io.CharSource;
233 .put(CharSource.class, CharSource.empty())
/external/guava/guava-testlib/test/com/google/common/testing/
H A DArbitraryInstancesTest.java59 import com.google.common.io.CharSource;
336 assertEquals(CharSource.empty(), ArbitraryInstances.get(CharSource.class));
/external/guice/lib/
H A Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/v8/src/inspector/build/closure-compiler/
H A Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...
/external/dagger2/lib/
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...

Completed in 442 milliseconds