001/*
002 * (c) Copyright 2009 University of Bristol
003 * All rights reserved.
004 * [See end of file]
005 */
006
007package net.rootdev.javardfa;
008
009/**
010 * Resolve URI relative to a given URI
011 *
012 * @author pldms
013 */
014public interface Resolver {
015
016    /**
017     * Resolve second URI relative to first.
018     * @param first
019     * @param second
020     * @return
021     */
022    public String resolve(String first, String second);
023
024}
025
026/*
027 * (c) Copyright 2009 University of Bristol
028 * All rights reserved.
029 *
030 * Redistribution and use in source and binary forms, with or without
031 * modification, are permitted provided that the following conditions
032 * are met:
033 * 1. Redistributions of source code must retain the above copyright
034 *    notice, this list of conditions and the following disclaimer.
035 * 2. Redistributions in binary form must reproduce the above copyright
036 *    notice, this list of conditions and the following disclaimer in the
037 *    documentation and/or other materials provided with the distribution.
038 * 3. The name of the author may not be used to endorse or promote products
039 *    derived from this software without specific prior written permission.
040 *
041 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
042 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
043 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
044 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
045 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
046 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
047 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
048 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
049 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
050 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
051 */