Filename.st
changeset 23407 98893f399451
parent 23393 6f06e66359ca
child 23420 55aa94bc649b
--- a/Filename.st	Fri Oct 05 17:56:14 2018 +0200
+++ b/Filename.st	Sun Oct 07 21:49:45 2018 +0200
@@ -2114,6 +2114,14 @@
     "
 !
 
+asFileURL
+    "return a file URL-object from myself"
+
+    ^ (URL fromString:self pathName) method:'file'; yourself.
+
+    "Created: / 07-10-2018 / 11:55:18 / Claus Gittinger"
+!
+
 asFilename
     "return the receiver converted to a filename; here, that's the receiver itself."