Associating file formats/extensions with my application

Does Juce have any cross-platform classes that allow you to associate custom file formats/extensions with your application, so that when the user double clicks on a custom file it will automatically open up your application?

I’m working with Xcode 4 on OS X at the moment, and as far as I can make out, in terms of programming Cocoa apps in Obj-C, this is usually done by adding a ‘Document Type’ to the .plist file and linking it to a NSDocument class within your code. I’m not too familiar with Obj-C or Cocoa though so this doesn’t make much sense to me. Can you do anything like this when building Juce-based applications?

Thanks.

There’s some stuff in the introjucer that lets you set up simple file associations for the OSX plist, and there are some utilities in the WindowsRegistry class too.

Great, got it working on OS X fine. Is there any option for this kind of functionality on Linux?
Thanks.

Sorry, no idea how that stuff works in linux!