- 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 voidaddStream(String path, String content)URLConnectionopenConnection(URL url)voidremoveStream(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:
 openConnectionin classURLStreamHandler- Throws:
 IOException
 
 - 
 
 -