URI.st
changeset 4881 bdff8a3ce9d6
parent 4721 f00aaa926180
child 5216 538e1747a8c9
--- a/URI.st	Mon Mar 18 11:01:52 2019 +0100
+++ b/URI.st	Mon Mar 18 11:03:24 2019 +0100
@@ -272,8 +272,17 @@
 
 !URI methodsFor:'subclass responsibility'!
 
+readStreamDo:aBlock
+    "evaluate a block with the read stream as first argument
+     and a dictionary containing attributes as second argument.
+     The stream is closed after aBlock has been evaluated."
+
+    self subclassResponsibility
+
+    "Created: / 18-03-2019 / 11:02:45 / Claus Gittinger"
+!
+
 readStreamsDo:aBlock
-
     "evaluate the block with a Collection of streams as first argument
      and a dictionary containing attributes as optional second argument,
      - a collection with a stream on a single file,
@@ -283,6 +292,8 @@
      Attributes may be the mime type (key #MIME)"
 
     ^ self subclassResponsibility
+
+    "Modified (format): / 18-03-2019 / 11:02:48 / Claus Gittinger"
 ! !
 
 !URI methodsFor:'testing'!