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" Subject: Re: com.sun.ftp? Message-ID: <5022AB7A.56319.calajapr@time.synchro.net> 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 To: Knute Johnson From: Robert Klemme 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