/[classpath]/classpath/gnu/java/net/protocol/file/Handler.java
ViewVC logotype

Diff of /classpath/gnu/java/net/protocol/file/Handler.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by glavaux, Fri Apr 23 16:27:06 2004 UTC revision 1.17 by mkoch, Mon Sep 20 11:38:30 2004 UTC
# Line 79  public class Handler extends URLStreamHa Line 79  public class Handler extends URLStreamHa
79          // Reset the protocol (and implicitly the handler) for this URL.          // Reset the protocol (and implicitly the handler) for this URL.
80          // Then have the URL attempt the connection again, as it will          // Then have the URL attempt the connection again, as it will
81          // get the changed handler the next time around.          // get the changed handler the next time around.
82          // N.B.: FTP protocol is not supported by default in GNU Classpath          // If the ftp protocol handler is not installed, an
83          // but it does not matter because setURL will keep the current protocol          // exception will be thrown from the new openConnection() call.
         // if "ftp" is not available.  
84          setURL (url, "ftp", url.getHost(), url.getPort(), url.getFile(),          setURL (url, "ftp", url.getHost(), url.getPort(), url.getFile(),
85                  url.getRef());                  url.getRef());
86          return url.openConnection();          return url.openConnection();

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26