ByteSource
; and in many cases there's also a better way@Deprecated
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)
Deprecated.
|
java.io.InputStream |
getInput()
Deprecated.
|
static InputStreamSupplier |
of(java.io.InputStream target)
Deprecated.
|
@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)