#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Tue, 13 Feb 2018 16:53:36 +0100
changeset 4586 026976849997
parent 4585 86ce5f304955
child 4587 caa262d036d2
#BUGFIX by cg class: URI added: #isFileScheme protocol compatibility
URI.st
--- a/URI.st	Fri Feb 09 18:04:47 2018 +0100
+++ b/URI.st	Tue Feb 13 16:53:36 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 2002 by eXept Software AG
               All Rights Reserved
@@ -277,6 +279,10 @@
 
 !URI methodsFor:'testing'!
 
+isFileScheme
+    ^ self method isNil or:[self method = 'file']
+!
+
 isRemote
     "return true, if this is a remote URI"