/*******************************************************************************
 * Copyright (c) 2009, 2015 IBM Corporation and others.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 ******************************************************************************/

package org.eclipse.e4.ui.workbench;

import org.eclipse.emf.common.util.URI;

/**
 * This interface describes a utility that is used to load ImageDesc's from {@link URI}s
 *
 * @param <ImageDesc>
 *
 * @noimplement This interface is not intended to be implemented by clients.
 * @since 1.0
 */
public interface IResourceUtilities<ImageDesc> {

	/**
	 * Loads an ImageDesc from the given {@link URI}.
	 *
	 * @param iconPath
	 * @return the ImageDesc from the given URI or <code>null</code>
	 */
	public ImageDesc imageDescriptorFromURI(URI iconPath);

}