Lines Matching refs:InputSupplier
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,
703 public static long getChecksum(InputSupplier<? extends InputStream> supplier,
729 public static byte[] getDigest(InputSupplier<? extends InputStream> supplier,
784 * Returns an {@link InputSupplier} that returns input streams from the
794 public static InputSupplier<InputStream> slice(
795 final InputSupplier<? extends InputStream> supplier,
801 return new InputSupplier<InputStream>() {
832 public static InputSupplier<InputStream> join(
833 final Iterable<? extends InputSupplier<? extends InputStream>> suppliers) {
834 return new InputSupplier<InputStream>() {
842 public static InputSupplier<InputStream> join(
843 InputSupplier<? extends InputStream>... suppliers) {