Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Robert Klemme Newsgroups: comp.lang.java.programmer Subject: Re: com.sun.ftp? Date: Tue, 07 Aug 2012 21:56:02 +0200 Lines: 20 Message-ID: References: <50203f07$0$290$14726298@news.sunsite.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net nDyH4kLCnXQusEGuhmO4iA6wQd+/gT6QTN2awo6TvbEfiQHmZ64XlCdf8yhluPQVM= Cancel-Lock: sha1:uNtbSQ6LHPQW2nYclDft06tZnEU= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 In-Reply-To: Xref: csiph.com comp.lang.java.programmer:17299 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