[Pharo-project] Two methods I don't understand in FileDirectory
Hello, I'm taking a look in the Files package, and I don't understand what pieces of information these two methods are manipulating: - getMacFileTypeAndCreator: fileName - setMacFileNamed: fileName type: typeString creator: creatorString If somebody can explain me, it would be cool :) Thanks, Adrien.
Hi Adrian, On 24 Feb 2011, at 00:48, Adrien BARREAU wrote:
Hello,
I'm taking a look in the Files package, and I don't understand what pieces of information these two methods are manipulating: - getMacFileTypeAndCreator: fileName - setMacFileNamed: fileName type: typeString creator: creatorString
If somebody can explain me, it would be cool :)
Thanks, Adrien.
In the past (before Mac OS X) and in some sense still, these were used instead of filename extensions to indicate the type (and creator) of a file. See for example: http://en.wikipedia.org/wiki/File_format#Mac_OS_type-codes Sven
participants (2)
-
Adrien BARREAU -
Sven Van Caekenberghe