|
JDIC API V2006 Release 0308 | |||||||||
上一个软件包 下一个软件包 | 框架 无框架 |
请参见:
描述
类摘要 | |
---|---|
Action | This class represents an action that could be applied to a particular file type. |
Association | This class represents a file type association. |
AssociationService | The AssociationService class provides several methods to access
the file type associations. |
异常摘要 | |
---|---|
AssociationAlreadyRegisteredException | An AssociationAlreadyRegisteredException is thrown by certain methods
of AssociationService while trying to add an association already
existed in the system. |
AssociationException | The AssociationException class and its subclasses are thrown by
certain methods of AssociationService to indicate the operation
fails. |
AssociationNotRegisteredException | An AssociationNotRegisteredException is thrown by certain methods
of AssociationService while trying to remove an association
not existed in the system. |
RegisterFailedException | A RegisterFailedException is thrown by certain methods of
AssociationService while the registeration or unregisteration
operation fails. |
Provides classes for associating applications with file types and accessing a registered file type association.
Every desktop allows the user to view files with the associated applications. Usually a desktop comes with a registry that allows the user to associate applications with file types. An association includes information like a MIME type, file extensions, and actions that could be applied to the file type. By accessing the association information, the desktop could invoke the appropriate applications to handle a file, display an URL or send an email.
|
JDIC API V2006 Release 0308 | |||||||||
上一个软件包 下一个软件包 | 框架 无框架 |
That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, working code examples, license terms and bug report information.
Copyright (c) 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.