- java.lang.Object
-
- ilusr.core.url.InternalURLStreamHandlerFactory
-
- All Implemented Interfaces:
URLStreamHandlerFactory
public class InternalURLStreamHandlerFactory extends Object implements URLStreamHandlerFactory
- Author:
- Jeff Riggle
-
-
Constructor Summary
Constructors Constructor Description InternalURLStreamHandlerFactory()Base Ctor..
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddResouce(String protocol, String path, String content)URLStreamHandlercreateURLStreamHandler(String protocol)voidremoveResource(String protocol, String path)
-
-
-
Method Detail
-
addResouce
public void addResouce(String protocol, String path, String content)
- Parameters:
protocol- The name of the protocolpath- The location of the resource.content- The content to associate with the resource.
-
removeResource
public void removeResource(String protocol, String path)
- Parameters:
protocol- The name of the protocolpath- The location of the resource.
-
createURLStreamHandler
public URLStreamHandler createURLStreamHandler(String protocol)
- Specified by:
createURLStreamHandlerin interfaceURLStreamHandlerFactory
-
-