QotD    "To be or not to be" – Shakespeare
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
"FileList registeredFileReaderClasses" redirects to FileServices
Last updated at 11:23 pm UTC on 26 March 2017
The class FileList no longer keeps a file registry. It redirects to FileServices

    FileReaderRegistry := nil. "wipe it out" 	
    ^FileServices registeredFileReaderClasses

The expression
gives back the direct access to the OrderedCollection which is hold in the class variable FileReaderRegistry ("FileServices registeredFileReaderClasses") of FileServices.

So registering and unregistering reader classes with FileList should not be done any-more but directly with FileServices. FileServices was introducted in Squeak 3.9 and replaces the earlier registration mechanism with FileList. As of Squeak 5.1 quite a number of methods are still referring to FileList though.