1 package org.sapia.clazzy;2 3 import java.net.MalformedURLException ;4 import java.net.URL ;5 6 /**7 * This interface is intended to be implemented by classes 8 * whose instances "point" to URLs.9 * 10 * @author Yanick Duchesne11 *12 * <dl>13 * <dt><b>Copyright:</b><dd>Copyright © 2002-2004 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>14 * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the15 * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>16 * </dl>17 */18 public interface URLEnabled {19 20 /**21 * @return the <code>URL</code> that this instance holds.22 * @throws MalformedURLException23 */24 public URL getURL() throws MalformedURLException ;25 26 }27