Filename.st
changeset 23407 98893f399451
parent 23393 6f06e66359ca
child 23420 55aa94bc649b
equal deleted inserted replaced
23403:b41e34660e82 23407:98893f399451
  2110 
  2110 
  2111     "
  2111     "
  2112       'c:\test\work' asFilename asCanonicalizedFilename
  2112       'c:\test\work' asFilename asCanonicalizedFilename
  2113       '/test/work' asFilename asCanonicalizedFilename
  2113       '/test/work' asFilename asCanonicalizedFilename
  2114     "
  2114     "
       
  2115 !
       
  2116 
       
  2117 asFileURL
       
  2118     "return a file URL-object from myself"
       
  2119 
       
  2120     ^ (URL fromString:self pathName) method:'file'; yourself.
       
  2121 
       
  2122     "Created: / 07-10-2018 / 11:55:18 / Claus Gittinger"
  2115 !
  2123 !
  2116 
  2124 
  2117 asFilename
  2125 asFilename
  2118     "return the receiver converted to a filename; here, that's the receiver itself."
  2126     "return the receiver converted to a filename; here, that's the receiver itself."
  2119 
  2127