Sets the application as the default handler for the given file extension.
this |
a AppInfo. |
extension |
a string containing the file extension (without the dot). |
true on success, false on error. |