KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > clazzy > URLEnabled


1 package org.sapia.clazzy;
2
3 import java.net.MalformedURLException JavaDoc;
4 import java.net.URL JavaDoc;
5
6 /**
7  * This interface is intended to be implemented by classes
8  * whose instances "point" to URLs.
9  *
10  * @author Yanick Duchesne
11  *
12  * <dl>
13  * <dt><b>Copyright:</b><dd>Copyright &#169; 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 the
15  * <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 MalformedURLException
23    */

24   public URL JavaDoc getURL() throws MalformedURLException JavaDoc;
25
26 }
27
Popular Tags