KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.sapia.clazzy;
2
3 import java.io.IOException JavaDoc;
4 import java.net.URL JavaDoc;
5 import java.net.URLConnection JavaDoc;
6 import java.net.URLStreamHandler JavaDoc;
7
8 /**
9  * Implements a <code>URLStreamHandler</code> that creates <code>ClazzyURLConnection</code>s.
10  *
11  * @see org.sapia.clazzy.ClazzyURLConnection
12  *
13  * @author Yanick Duchesne
14  *
15  * <dl>
16  * <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>
17  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
18  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
19  * </dl>
20  */

21 public class Handler extends URLStreamHandler JavaDoc{
22   
23   /**
24    * @see java.net.URLStreamHandler#openConnection(java.net.URL)
25    */

26   protected URLConnection JavaDoc openConnection(URL JavaDoc u) throws IOException JavaDoc {
27     return new ClazzyURLConnection(u);
28   }
29   
30   
31
32 }
33
Popular Tags