1 package org.sapia.clazzy;2 3 import java.io.IOException ;4 import java.net.URL ;5 import java.net.URLConnection ;6 import java.net.URLStreamHandler ;7 8 /**9 * Implements a <code>URLStreamHandler</code> that creates <code>ClazzyURLConnection</code>s.10 * 11 * @see org.sapia.clazzy.ClazzyURLConnection12 * 13 * @author Yanick Duchesne14 *15 * <dl>16 * <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>17 * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the18 * <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 {22 23 /**24 * @see java.net.URLStreamHandler#openConnection(java.net.URL)25 */26 protected URLConnection openConnection(URL u) throws IOException {27 return new ClazzyURLConnection(u);28 }29 30 31 32 }33