| org.apache.cocoon.components.url.ResourceURLFactory
ResourceURLFactory | public class ResourceURLFactory extends AbstractLogEnabled implements URLFactory,Contextualizable(Code) | | author: Giacomo Pati version: CVS $Id: ResourceURLFactory.java 433543 2006-08-22 06:22:54Z crossley $ |
Field Summary | |
protected Context | context |
context | protected Context context(Code) | | The context
|
contextualize | public void contextualize(Context context) throws ContextException(Code) | | Get the context
|
getURL | public URL getURL(String location) throws MalformedURLException(Code) | | Create a URL from a location. This method supports the
resource:// pseudo-protocol for loading resources
accessible to this same class' ClassLoader
Parameters: location - The location The URL pointed to by the location exception: MalformedURLException - If the location is malformed |
|
|