Skip to main content
summaryrefslogtreecommitdiffstats
blob: f82d0fbe425bc82bdc605ea087f4981e2faa1784 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/**
 * Copyright (c) 2008 Oracle Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Oracle Corporation - initial API and implementation
 */
package org.eclipse.jst.jsf.common.metadata.internal;

import java.net.URL;

/**
 * Provides absolute URLs from resource path, which is relative to the plug-in
 * with the metadata that specified the resource path.
 *  
 * @author Ian Trimble - Oracle
 */
public interface IResourceURLProvider {

	/**
	 * Get absolute URL for resource path, which is relative to the plug-in that
	 * specified the resource metadata.
	 * 
	 * @param resourcePath Path to resource, relative to metadata plug-in.
	 * @return Absolute URL for resource path.
	 */
	public URL getResourceURL(String resourcePath);

}

Back to the top