public class InputStreamURLStreamHandler extends URLStreamHandler
InputStream object. This object will always use the stream
provided and nothing else. So the life time of an instance is very limited.| Constructor and Description |
|---|
InputStreamURLStreamHandler(InputStream in)
Creates a new handler.
|
| Modifier and Type | Method and Description |
|---|---|
protected URLConnection |
openConnection(URL u) |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormpublic InputStreamURLStreamHandler(InputStream in) throws IllegalArgumentException
in - the input streamIllegalArgumentException - if the stream is nullprotected URLConnection openConnection(URL u) throws IOException
openConnection in class URLStreamHandlerIOExceptionCopyright © 2018 JBoss by Red Hat. All Rights Reserved.