gnu.inet.ftp
Class Handler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by gnu.inet.ftp.Handler

public class Handler
extends java.net.URLStreamHandler

An FTP URL stream handler.

Author:
Chris Burdess

Constructor Summary
Handler()
           
 
Method Summary
protected  int getDefaultPort()
           
 java.net.URLConnection openConnection(java.net.URL url)
          Returns an FTPURLConnection for the given URL.
 
Methods inherited from class java.net.URLStreamHandler
equals, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Handler

public Handler()
Method Detail

getDefaultPort

protected int getDefaultPort()
Overrides:
getDefaultPort in class java.net.URLStreamHandler

openConnection

public java.net.URLConnection openConnection(java.net.URL url)
                                      throws java.io.IOException
Returns an FTPURLConnection for the given URL.

Specified by:
openConnection in class java.net.URLStreamHandler
Throws:
java.io.IOException


© Copyright 2003 The Free Software Foundation, all rights reserved