HomeSort by relevance Sort by last modified time
    Searched refs:InputSupplier (Results 1 - 8 of 8) sorted by null

  /external/guava/src/com/google/common/io/
InputSupplier.java 27 public interface InputSupplier<T> {
CharStreams.java 63 public static InputSupplier<StringReader> newReaderSupplier(final String value) {
65 return new InputSupplier<StringReader>() {
80 public static InputSupplier<InputStreamReader> newReaderSupplier(
81 final InputSupplier<? extends InputStream> in, final Charset charset) {
84 return new InputSupplier<InputStreamReader>() {
142 W extends Appendable & Closeable> long copy(InputSupplier<R> from,
170 public static <R extends Readable & Closeable> long copy(InputSupplier<R> from,
228 InputSupplier<R> supplier) throws IOException {
254 InputSupplier<R> supplier) throws IOException {
276 InputSupplier<R> supplier) throws IOException
    [all...]
ByteStreams.java 58 public static InputSupplier<ByteArrayInputStream> newInputStreamSupplier(
72 public static InputSupplier<ByteArrayInputStream> newInputStreamSupplier(
74 return new InputSupplier<ByteArrayInputStream>() {
110 public static long copy(InputSupplier<? extends InputStream> from,
138 public static long copy(InputSupplier<? extends InputStream> from,
219 InputSupplier<? extends InputStream> supplier) throws IOException {
544 public static long length(InputSupplier<? extends InputStream> supplier)
573 public static boolean equal(InputSupplier<? extends InputStream> supplier1,
574 InputSupplier<? extends InputStream> supplier2) throws IOException {
673 public static <T> T readBytes(InputSupplier<? extends InputStream> supplier
    [all...]
Resources.java 50 public static InputSupplier<InputStream> newInputStreamSupplier(
53 return new InputSupplier<InputStream>() {
68 public static InputSupplier<InputStreamReader> newReaderSupplier(
FileBackedOutputStream.java 43 private final InputSupplier<InputStream> supplier;
78 * optionally resets the data when the {@link InputSupplier} returned
84 * be called when the {@link InputSupplier} returned by {@link #getSupplier}
94 supplier = new InputSupplier<InputStream>() {
108 supplier = new InputSupplier<InputStream>() {
120 public InputSupplier<InputStream> getSupplier() {
MultiInputStream.java 32 private Iterator<? extends InputSupplier<? extends InputStream>> it;
41 Iterator<? extends InputSupplier<? extends InputStream>> it)
MultiReader.java 32 private final Iterator<? extends InputSupplier<? extends Reader>> it;
35 MultiReader(Iterator<? extends InputSupplier<? extends Reader>> readers)
Files.java 92 public static InputSupplier<FileInputStream> newInputStreamSupplier(
95 return new InputSupplier<FileInputStream>() {
141 public static InputSupplier<InputStreamReader> newReaderSupplier(File file,
225 public static void copy(InputSupplier<? extends InputStream> from, File to)
287 InputSupplier<R> from, File to, Charset charset) throws IOException {

Completed in 37 milliseconds