| org.apache.cocoon.components.url.ParsedResourceURLProtocolHandler
ParsedResourceURLProtocolHandler | public class ParsedResourceURLProtocolHandler extends AbstractParsedURLProtocolHandler (Code) | | Provide an extension to Batik to handle the "resource:" protocol. This class
uses the Thread.getContextClassLoader() classloader to get resources.
It is safe to use this URL with multiple Cocoon webapps running.
author: Berin Loritsch version: CVS $Id: ParsedResourceURLProtocolHandler.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
public ParsedURLData | parseURL(String uri) Getbase.getPath() the ParsedURLData for the context. | public ParsedURLData | parseURL(ParsedURL base, String uri) The build the relative URL. |
ParsedResourceURLProtocolHandler | public ParsedResourceURLProtocolHandler()(Code) | | Create a new instance, this doesn't do much beyond register the type of
protocol we handle.
|
parseURL | public ParsedURLData parseURL(String uri)(Code) | | Getbase.getPath() the ParsedURLData for the context. Absolute URIs are specified like
"resource://".
|
parseURL | public ParsedURLData parseURL(ParsedURL base, String uri)(Code) | | The build the relative URL. Relative URIs are specified like "resource:".
|
|
|