+2003-11-26 Michael Koch <konqueror@gmx.de>
+
+ * gnu/java/net/protocol/file/Handler.java
+ (Handler): New explicit constructor.
+ (openConnection): Added documentation.
+ * gnu/java/net/protocol/jar/Handler.java
+ (Handler): New explicit constructor.
+ (openConnection): Added documentation.
+
2003-11-26 Michael Koch <konqueror@gmx.de>
* java/net/DatagramPacket.java
*/
public class Handler extends URLStreamHandler
{
+ /**
+ * A do nothing constructor
+ */
+ public Handler()
+ {
+ }
+
+ /**
+ * This method returs a new FileURLConnection for the specified URL
+ *
+ * @param url The URL to return a connection for
+ *
+ * @return The URLConnection
+ *
+ * @exception IOException If an error occurs
+ */
protected URLConnection openConnection(URL url) throws IOException
{
// If a hostname is set, then we need to switch protocols to ftp
/**
* @author Kresten Krab Thorup <krab@gnu.org>
- * @date August 13, 1999.
*/
public class Handler extends URLStreamHandler
{
+ /**
+ * A do nothing constructor
+ */
+ public Handler()
+ {
+ }
+
+ /**
+ * This method returs a new JarURLConnection for the specified URL
+ *
+ * @param url The URL to return a connection for
+ *
+ * @return The URLConnection
+ *
+ * @exception IOException If an error occurs
+ */
protected URLConnection openConnection(URL url) throws IOException
{
return new Connection(url);