Before starting to write an abstract class with some files/directories methods, and 2 subclasses, one for FileDirectory (in GemStone) and one for FileSystem (Pharo 2.0), and make my app delegate all these file methods to this class...I wonder...
does anyone already did this? If true, would you share? :) |
If you use FileDirectory then you can use the FileSystem legacy package in Pharo 2 that I think is in Camillo Bruni's repo on smalltalkhub.
|
In reply to this post by Mariano Martinez Peck
What Paul said... If that doesn't work for you look at what Sven did for zinc and what I did for FileTree ---- which is basically invent your own common API ...
Dale From: "Mariano Martinez Peck" <[hidden email]> |
In reply to this post by Paul DeBruicker
On Mon, Nov 11, 2013 at 11:00 PM, Paul DeBruicker <[hidden email]> wrote:
Thanks, I was aware of this, but my case if the other way around. My app is using FileSystem currently, not FileDirectory ;)
Mariano http://marianopeck.wordpress.com |
In reply to this post by Dale Henrichs-3
On Mon, Nov 11, 2013 at 11:28 PM, Dale K. Henrichs <[hidden email]> wrote:
This was what I was asking...rather to implement it yet again, maybe I can start from someone else work ;) Any particular classes I could take a look for FileTree?
Thanks!
Mariano http://marianopeck.wordpress.com |
Mariano,
Take a look at MCFileTreeFileUtils (and it's subclasses). I have a FileSystem concrete subclass for Pharo2.0+ and a FileDirectory concrete subclass for Pharo1.4 and GemStone ... Dale From: "Mariano Martinez Peck" <[hidden email]> |
Free forum by Nabble | Edit this page |