[ENH] Resources
Wolfgang Eder
edw at generalmagic.at
Tue May 25 10:56:40 UTC 2004
Russell Penney wrote:
[snip]
> Try
> ( RURI fromString: 'file1.txt' ) asAbsolute
> ( RURI fromString: 'file1.txt' ) asAbsolute resource contents
> ( RURI fromString: './file2.jpg' ) asAbsolute resource contents
> ( RURI fromString: './' ) asAbsolute resource uriCollection
>
> Zip files are just like directories
> ( RURI fromString: './file3.zip' ) asAbsolute resource uriCollection
>
> Fragments can be used to access files in Zip files
> ( RURI fromString: './file3.zip#file1.txt' ) asAbsolute resource contents
hi! just a small comment: what about making zip files
even more like directories:
( RURI fromString: './file3.zip/file1.txt' ) asAbsolute resource contents
just my 1/2c
cheers,
wolfgang
More information about the Squeak-dev
mailing list
|