okay, thank you.  And thank you for the wikipedia article.
<br/><br/>sincerely,
<br/><br/>Joe.
<br/><br/>&nbsp; 
<div class='shrinkable-quote'><br/>&gt; On May 31, 2016, at 3:27 PM, Ron Teitelbaum [via Smalltalk] &lt;<a href="/user/SendEmail.jtp?type=node&node=4898727&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt; wrote:
<br/>&gt; 
<br/>&gt; Hi Joe,
<br/>&gt; 
<br/>&gt; &nbsp;
<br/>&gt; 
<br/>&gt; There are a number of different types of resource names. &nbsp;One of them is a URI the other is URL (I=Indenter L=Locator). &nbsp;They are ways for locating and identifying resources so that computers can find and work with them. &nbsp;I would recommend googling a bit about URI and URL to understand better what they are used for. &nbsp;The section I pointed out was a method that gave you the protocol (scheme) for the URL. &nbsp;
<br/>&gt; 
<br/>&gt; &nbsp;
<br/>&gt; 
<br/>&gt; URL class &gt;&gt; urlClassForScheme: scheme
<br/>&gt; 
<br/>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(scheme isNil or: [scheme = 'http']) ifTrue: [^HttpUrl].
<br/>&gt; 
<br/>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;scheme = 'https' ifTrue: [^HttpUrl].
<br/>&gt; 
<br/>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;scheme = 'ftp' ifTrue: [^FtpUrl].
<br/>&gt; 
<br/>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;scheme = 'file' ifTrue: [^FileUrl].
<br/>&gt; 
<br/>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;scheme = 'mailto' ifTrue: [^MailtoUrl].
<br/>&gt; 
<br/>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;scheme = 'browser' ifTrue: [^BrowserUrl].
<br/>&gt; 
<br/>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^GenericUrl
<br/>&gt; 
<br/>&gt; &nbsp;
<br/>&gt; 
<br/>&gt; This is a class side method that returns the class you should use to work with the resource. &nbsp;You asked why there were url methods on FileDirectory. &nbsp;The answer is that a url instead of starting with http &nbsp;as in <a href="http://mydomain.com/somefilename" target="_top" rel="nofollow" link="external">http://mydomain.com/somefilename</a>&nbsp; can start with file:// as in file://somefilename and this is how we get to FileDirectory (well eventually through FileUrl), that’s what I was trying to point out.
<br/>&gt; 
<br/>&gt; &nbsp;
<br/>&gt; 
<br/>&gt; All the best,
<br/>&gt; 
<br/>&gt; &nbsp;
<br/>&gt; 
<br/>&gt; Ron
<br/>&gt; 
<br/>&gt; &nbsp;
<br/>&gt; 
<br/>&gt; &nbsp;
<br/>&gt; 
<br/>&gt; &nbsp;
<br/>&gt; 
<br/>&gt; From: [hidden email] [mailto:[hidden email]] On Behalf Of Joseph Alotta
<br/>&gt; Sent: Tuesday, May 31, 2016 2:16 PM
<br/>&gt; To: [hidden email]
<br/>&gt; Subject: [Newbies] Re: FileDirectory
<br/>&gt; 
<br/>&gt; &nbsp;
<br/>&gt; 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; &gt; On May 26, 2016, at 5:50 PM, Ron Teitelbaum [via Smalltalk] &lt;[hidden email]&gt; wrote: 
<br/>&gt; &gt; 
<br/>&gt; &gt; Have a look at the Hierarchy for the class Url 
<br/>&gt; &gt; 
<br/>&gt; &gt; &nbsp; 
<br/>&gt; &gt; 
<br/>&gt; &gt; Notice the class method: #urlClassForScheme: 
<br/>&gt; &gt; 
<br/>&gt; &gt; &nbsp; 
<br/>&gt; &gt; 
<br/>&gt; &gt; That should give you a better understanding of why url methods are in FileDirectory. 
<br/>&gt; &gt; 
<br/>&gt; &gt; &nbsp; 
<br/>&gt; &gt; 
<br/>&gt; &gt; For browser like methods see HTTPClient. 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; Sorry, Ron, all I got from this email after a day of trying to understand it, is that I do not have the background to grasp what you are trying to tell me. &nbsp;It seems you need to know all of this already before you know how to use it. 
<br/>&gt; 
<br/>&gt; I thought the purpose of encapsulation is that you do not need to know the inner workings of an object to use it. 
<br/>&gt; 
<br/>&gt; Is there something more basic about urls and httpclients that I can start with? 
<br/>&gt; 
<br/>&gt; Sincerely, 
<br/>&gt; 
<br/>&gt; Joe. 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; View this message in context: Re: FileDirectory
<br/>&gt; Sent from the Squeak - Beginners mailing list archive at Nabble.com.
<br/>&gt; 
<br/>&gt; 
<br/>&gt; _______________________________________________ 
<br/>&gt; Beginners mailing list 
<br/>&gt; [hidden email] 
<br/>&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br/>&gt; 
<br/>&gt; 
<br/>&gt; If you reply to this email, your message will be added to the discussion below:
<br/>&gt; <a href="http://forum.world.st/FileDirectory-tp4897377p4898441.html" target="_top" rel="nofollow" link="external">http://forum.world.st/FileDirectory-tp4897377p4898441.html</a><br/>&gt; To start a new topic under Squeak - Beginners, email <a href="/user/SendEmail.jtp?type=node&node=4898727&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> 
<br/>&gt; To unsubscribe from Squeak - Beginners, click here.
<br/>&gt; NAML
</div><br/>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://forum.world.st/FileDirectory-tp4897377p4898727.html">Re: FileDirectory</a><br/>
Sent from the <a href="http://forum.world.st/Squeak-Beginners-f107673.html">Squeak - Beginners mailing list archive</a> at Nabble.com.<br/>