JDIC API V0.9 Release 3

Package org.jdesktop.jdic.filetypes

Provides classes for associating applications with file types and accessing a registered file type association. 

See:
          Description

Class Summary
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.
 

Exception Summary
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.
 

Package org.jdesktop.jdic.filetypes Description

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 V0.9 Release 3

For more information and documentation on JDIC, see JDIC website.

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.