public class InputStreamSupplier
extends java.lang.Object
implements com.google.common.io.InputSupplier<java.io.InputStream>
Constructor and Description |
---|
InputStreamSupplier(java.io.InputStream target)
Deprecated.
since 0.7.0; use
of(InputStream) instead |
Modifier and Type | Method and Description |
---|---|
static InputStreamSupplier |
fromString(java.lang.String input) |
java.io.InputStream |
getInput() |
static InputStreamSupplier |
of(java.io.InputStream target) |
@Deprecated public InputStreamSupplier(java.io.InputStream target)
of(InputStream)
insteadpublic java.io.InputStream getInput() throws java.io.IOException
getInput
in interface com.google.common.io.InputSupplier<java.io.InputStream>
java.io.IOException
public static InputStreamSupplier of(java.io.InputStream target)
public static InputStreamSupplier fromString(java.lang.String input)