| /* |
| * Copyright 2004, Ugo Cei. |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| * implied. |
| * |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| package org.apache.butterfly.source; |
| |
| |
| /** |
| * Implemented by a SourceFactory when it supports applying a relative URI |
| * to a base URI to form an absolute URI. |
| * |
| * <p>If a source factory does not implement this interface, the standard |
| * algorithm (as described in RFC 2396) will be used. This interface only |
| * needs to be implemented for source-types which have a different behaviour. |
| * |
| * @version CVS $Id: URIAbsolutizer.java,v 1.1 2004/07/23 08:47:20 ugo Exp $ |
| */ |
| public interface URIAbsolutizer { |
| |
| public String absolutize(String baseURI, String location); |
| } |