Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #17369

Re: com.sun.ftp?

From "Robert Klemme" <robert.klemme@1:261/38.remove-qhs-this>
Subject Re: com.sun.ftp?
Message-ID <5022AB7A.56319.calajapr@time.synchro.net> (permalink)
Newsgroups comp.lang.java.programmer
References <5021F862.56282.calajapr@time.synchro.net>
Date 2012-08-08 19:04 +0000
Organization tds.net

Show all headers | View raw


  To: Knute Johnson
From: Robert Klemme <shortcutter@googlemail.com>

On 08/07/2012 01:06 AM, Knute Johnson wrote:
> I think I was assuming that it is a coming feature.  Why would they go
> to the effort to create an ftp package and include it in the JDK if it
> wasn't going to be a regular package some day.

One reason would be that it is not used explicitly but rather implicitly, for 
example via
http://docs.oracle.com/javase/6/docs/api/java/net/URL.html#openStream%28%29

Also from that page: "Protocol handlers for the following protocols are 
guaranteed to exist on the search path :-

          http, https, ftp, file, and jar"

In other words: it is a regular package but it is not intended to be used 
directly but only via a different publicly accessible package.

Kind regards

        robert

--- BBBS/Li6 v4.10 Dada-1
 * Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

com.sun.ftp? "Knute Johnson" <knute.johnson@1:261/38.remove-p82-this> - 2012-08-08 06:20 +0000
  Re: com.sun.ftp? "Knute Johnson" <knute.johnson@1:261/38.remove-p82-this> - 2012-08-08 06:20 +0000
  Re: com.sun.ftp? "Arne Vajhøj" <arne.vajhøj@1:261/38.remove-p82-this> - 2012-08-08 06:20 +0000
    Re: com.sun.ftp? "Knute Johnson" <knute.johnson@1:261/38.remove-p82-this> - 2012-08-08 06:20 +0000
      Re: com.sun.ftp? "Robert Klemme" <robert.klemme@1:261/38.remove-qhs-this> - 2012-08-08 19:04 +0000
  Re: com.sun.ftp? "Roedy Green" <roedy.green@1:261/38.remove-p82-this> - 2012-08-08 06:20 +0000

csiph-web