270 ^ self printOn:aStream |
270 ^ self printOn:aStream |
271 ! ! |
271 ! ! |
272 |
272 |
273 !URI methodsFor:'subclass responsibility'! |
273 !URI methodsFor:'subclass responsibility'! |
274 |
274 |
|
275 readStreamDo:aBlock |
|
276 "evaluate a block with the read stream as first argument |
|
277 and a dictionary containing attributes as second argument. |
|
278 The stream is closed after aBlock has been evaluated." |
|
279 |
|
280 self subclassResponsibility |
|
281 |
|
282 "Created: / 18-03-2019 / 11:02:45 / Claus Gittinger" |
|
283 ! |
|
284 |
275 readStreamsDo:aBlock |
285 readStreamsDo:aBlock |
276 |
|
277 "evaluate the block with a Collection of streams as first argument |
286 "evaluate the block with a Collection of streams as first argument |
278 and a dictionary containing attributes as optional second argument, |
287 and a dictionary containing attributes as optional second argument, |
279 - a collection with a stream on a single file, |
288 - a collection with a stream on a single file, |
280 - or a collection with streams on a directorie's files, but not recursive |
289 - or a collection with streams on a directorie's files, but not recursive |
281 |
290 |
282 The streams are closed after aBlock has been evaluated. |
291 The streams are closed after aBlock has been evaluated. |
283 Attributes may be the mime type (key #MIME)" |
292 Attributes may be the mime type (key #MIME)" |
284 |
293 |
285 ^ self subclassResponsibility |
294 ^ self subclassResponsibility |
|
295 |
|
296 "Modified (format): / 18-03-2019 / 11:02:48 / Claus Gittinger" |
286 ! ! |
297 ! ! |
287 |
298 |
288 !URI methodsFor:'testing'! |
299 !URI methodsFor:'testing'! |
289 |
300 |
290 isFileScheme |
301 isFileScheme |