- java.lang.Object
-
- java.net.URLStreamHandler
-
- ilusr.core.url.InternalURLStreamHandler
-
public class InternalURLStreamHandler extends URLStreamHandler
- Author:
- Jeff Riggle
-
-
Constructor Summary
Constructors Constructor Description InternalURLStreamHandler()
Ctor..
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addStream(String path, String content)
URLConnection
openConnection(URL url)
void
removeStream(String path)
-
Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
-
-
-
-
Method Detail
-
addStream
public void addStream(String path, String content)
- Parameters:
path
- The location of the stream.content
- The content from the stream.
-
removeStream
public void removeStream(String path)
- Parameters:
path
- The location of the stream.
-
openConnection
public URLConnection openConnection(URL url) throws IOException
- Specified by:
openConnection
in classURLStreamHandler
- Throws:
IOException
-
-