Pharoers,
In my image I have a few methods that make file access a little more
legible:

Http // 'www.slashdot.org/'


File // '/Users/dave/hello.c'

It reads just like a protocol string :)

Both of these class methods return a ByteString, what I typically need 99%
of the time.  When I need a stream for some strange reason:

ReadStream on: (File // '/Users/dave/hello.c') .


For my needs, this approach has made file access both straight forward while
remaining true to the URI semantics.

Dave

-- 
-=-=-=-=-=-=-=-=-=-=- http://blog.dloh.org/
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to