org.apache.cocoon.components.url
Interface URLFactory

All Superinterfaces:
org.apache.avalon.framework.component.Component
All Known Implementing Classes:
ContextURLFactory, ResourceURLFactory, URLFactoryImpl

public interface URLFactory
extends org.apache.avalon.framework.component.Component

Version:
$Id: URLFactory.java,v 1.3 2002/02/22 07:00:14 cziegeler Exp $
Author:
Giacomo Pati

Field Summary
static java.lang.String ROLE
           
 
Method Summary
 java.net.URL getURL(java.lang.String location)
          Get an URL
 java.net.URL getURL(java.net.URL base, java.lang.String location)
           
 

Field Detail

ROLE

public static final java.lang.String ROLE
See Also:
Constant Field Values
Method Detail

getURL

public java.net.URL getURL(java.lang.String location)
                    throws java.net.MalformedURLException
Get an URL

java.net.MalformedURLException

getURL

public java.net.URL getURL(java.net.URL base,
                           java.lang.String location)
                    throws java.net.MalformedURLException
java.net.MalformedURLException


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.