Issue 3605 in pharo: [ENH]: Added #saveTo: method to MIMEDocument

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 3605 in pharo: [ENH]: Added #saveTo: method to MIMEDocument

pharo
Status: New
Owner: ----

New issue 3605 by [hidden email]: [ENH]: Added #saveTo: method to  
MIMEDocument
http://code.google.com/p/pharo/issues/detail?id=3605

When downloading via Url classes, this makes it more straight-forward to  
save (an image for example), now:

  aUrl retrieveContents saveAs: savePath.

instead of:

  FileStream forceNewFileNamed: anAbsolutePathString do: [ :str |
    str binary.
    str nextPutAll: (aUrl retrieveContents contents) ].

Attachments:
        MIMEDocument-saveAs.st  324 bytes


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3605 in pharo: [ENH]: Added #saveTo: method to MIMEDocument

pharo
Updates:
        Status: FixProposed
        Labels: Milestone-1.3

Comment #1 on issue 3605 by [hidden email]: [ENH]: Added #saveTo:  
method to MIMEDocument
http://code.google.com/p/pharo/issues/detail?id=3605

(No comment was entered for this change.)


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3605 in pharo: [ENH]: Added #saveTo: method to MIMEDocument

pharo
Updates:
        Status: Closed

Comment #2 on issue 3605 by [hidden email]: [ENH]: Added #saveTo:  
method to MIMEDocument
http://code.google.com/p/pharo/issues/detail?id=3605

in 13100