[Cuis] New Commit: FileMan adoption and tweaks
H. Hirzel
hannes.hirzel at gmail.com
Wed Oct 28 16:50:32 CDT 2015
N.B.
Have a look at the class comment of FmFileEntry and the seven example
methods on the class side.
And String>>asFileEntry
There is a need for an example for #binaryContents and #binaryContents:
On 10/28/15, H. Hirzel <hannes.hirzel at gmail.com> wrote:
> | filename |
> filename _ 'Pluto.png'.
> self runningWorld backgroundImageData: filename asFileEntry
> binaryContents.
>
>
> On 10/28/15, nacho <0800nacho at gmail.com> wrote:
>> So now, for importing a new wallpaper, instead of doing:
>>
>> | filename |
>> filename _ 'Pluto.png'.
>> self runningWorld backgroundImageData:
>> (FileStream readOnlyFileNamed: filename) binary
>> contentsOfEntireFile.
>>
>> What Class and method should I use? Because
>> FileStream>>readOnlyFileNamed:
>> is no longer there.
>> thanks in advance!
>> nacho
>>
>>
>>
>>
>> -----
>> Nacho
>> Smalltalker apprentice.
>> Buenos Aires, Argentina.
>> --
>> View this message in context:
>> http://forum.world.st/New-Commit-FileMan-adoption-and-tweaks-tp4857651p4858359.html
>> Sent from the Cuis Smalltalk mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Cuis mailing list
>> Cuis at jvuletich.org
>> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>>
>
More information about the Cuis
mailing list