Searched refs:newInputStreamSupplier (Results 1 - 6 of 6) sorted by relevance

/external/guava/guava/src/com/google/common/io/
H A DResources.java54 public static InputSupplier<InputStream> newInputStreamSupplier( method in class:Resources
75 return CharStreams.newReaderSupplier(newInputStreamSupplier(url), charset);
86 return ByteStreams.toByteArray(newInputStreamSupplier(url));
140 ByteStreams.copy(newInputStreamSupplier(from), to);
H A DFiles.java99 public static InputSupplier<FileInputStream> newInputStreamSupplier( method in class:Files
152 return CharStreams.newReaderSupplier(newInputStreamSupplier(file), charset);
197 return ByteStreams.toByteArray(newInputStreamSupplier(file));
260 ByteStreams.copy(newInputStreamSupplier(from), to);
271 ByteStreams.copy(newInputStreamSupplier(from), to);
285 copy(newInputStreamSupplier(from), to);
395 return ByteStreams.equal(newInputStreamSupplier(file1),
396 newInputStreamSupplier(file2));
559 return ByteStreams.readBytes(newInputStreamSupplier(file), processor);
574 return ByteStreams.getChecksum(newInputStreamSupplier(fil
[all...]
H A DByteStreams.java60 public static InputSupplier<ByteArrayInputStream> newInputStreamSupplier( method in class:ByteStreams
62 return newInputStreamSupplier(b, 0, b.length);
74 public static InputSupplier<ByteArrayInputStream> newInputStreamSupplier( method in class:ByteStreams
/external/guava/guava-tests/test/com/google/common/io/
H A DResourcesTest.java42 Resources.newInputStreamSupplier(null);
50 Resources.newInputStreamSupplier(url));
H A DByteStreamsTest.java20 import static com.google.common.io.ByteStreams.newInputStreamSupplier;
127 ByteStreams.toByteArray(ByteStreams.newInputStreamSupplier(range))));
130 ByteStreams.newInputStreamSupplier(range, 100, 50));
152 assertTrue(ByteStreams.equal(ByteStreams.newInputStreamSupplier(tenK),
171 ByteStreams.newInputStreamSupplier(a),
172 ByteStreams.newInputStreamSupplier(b)));
178 = newCheckInput(ByteStreams.newInputStreamSupplier(range));
735 ByteStreams.newInputStreamSupplier(new byte[0])));
751 = ByteStreams.newInputStreamSupplier(newPreFilledByteArray(100));
797 = ByteStreams.newInputStreamSupplier(newPreFilledByteArra
[all...]
H A DFileBackedOutputStreamTest.java90 ByteStreams.newInputStreamSupplier(data, 0, chunk1), supplier));

Completed in 142 milliseconds