public final class UrlAsInput extends Object implements Input
There is no thread-safety guarantee.
Input.NoNulls
Constructor and Description |
---|
UrlAsInput(Scalar<URL> src)
Ctor.
|
UrlAsInput(String url)
Ctor.
|
UrlAsInput(URI url)
Ctor.
|
UrlAsInput(URL url)
Ctor.
|
public UrlAsInput(String url)
url
- The URLpublic UrlAsInput(URI url)
url
- The URLpublic UrlAsInput(URL url)
url
- The URLpublic InputStream stream() throws IOException
Input
stream
in interface Input
IOException
- If something goes wrongCopyright © 2017 Cactoos. All rights reserved.