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


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

Re: com.sun.ftp?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!53ab2750!not-for-mail
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)
X-Comment-To Knute Johnson
Newsgroups comp.lang.java.programmer
In-Reply-To <5021F862.56282.calajapr@time.synchro.net>
References <5021F862.56282.calajapr@time.synchro.net>
X-FTN-AREA COMP.LANG.JAVA.PROGRAMMER
X-FTN-MSGID 1:261/38 d749f237
X-FTN-REPLY 1:261/38 ecc5ee03
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.16a-Win32 NewsLink 1.98]
Lines 28
Date Wed, 08 Aug 2012 19:04:13 GMT
NNTP-Posting-Host 69.21.70.65
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1344452653 69.21.70.65 (Wed, 08 Aug 2012 14:04:13 CDT)
NNTP-Posting-Date Wed, 08 Aug 2012 14:04:13 CDT
Organization tds.net
Xref csiph.com comp.lang.java.programmer:17369

Show key headers only | 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