org.apache.cocoon.components.url
Class ResourceURLFactory
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.url.ResourceURLFactory
- All Implemented Interfaces:
- Component, Contextualizable, LogEnabled, URLFactory
Deprecated. by the new source resolving of avalon excalibur
public class ResourceURLFactory
- extends AbstractLogEnabled
- implements URLFactory, Contextualizable
- Version:
- CVS $Id: ResourceURLFactory.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Giacomo Pati
Fields inherited from interface org.apache.cocoon.components.url.URLFactory |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected Context context
- Deprecated.
- The context
ResourceURLFactory
public ResourceURLFactory()
- Deprecated.
getURL
public URL getURL(String location)
throws MalformedURLException
- Deprecated.
- Create a URL from a location. This method supports the
resource:// pseudo-protocol for loading resources
accessible to this same class'
ClassLoader
- Specified by:
getURL
in interface URLFactory
- Parameters:
location
- The location
- Returns:
- The URL pointed to by the location
- Throws:
MalformedURLException
- If the location is malformed
getURL
public URL getURL(URL base,
String location)
throws MalformedURLException
- Deprecated.
- Specified by:
getURL
in interface URLFactory
- Throws:
MalformedURLException
contextualize
public void contextualize(Context context)
throws ContextException
- Deprecated.
- Get the context
- Specified by:
contextualize
in interface Contextualizable
- Throws:
ContextException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.