JDIC API V2006 Release 0308

类 org.jdesktop.jdic.filetypes.Association
的使用

使用 Association 的软件包
org.jdesktop.jdic.filetypes Provides classes for associating applications with file types and accessing a registered file type association. 
 

org.jdesktop.jdic.filetypesAssociation 的使用
 

返回 Associationorg.jdesktop.jdic.filetypes 中的方法
 Association AssociationService.getAssociationByContent(java.net.URL url)
          Returns the association representing the file type of the file the given URL points to.
 Association AssociationService.getFileExtensionAssociation(java.lang.String fileExt)
          Returns the association representing the file type of the given file extension.
 Association AssociationService.getMimeTypeAssociation(java.lang.String mimeType)
          Returns the association representing the file type of the given MIME type.
 

参数类型为 Associationorg.jdesktop.jdic.filetypes 中的方法
 void AssociationService.registerSystemAssociation(Association assoc)
          Registers the given association in the system level.
 void AssociationService.registerUserAssociation(Association assoc)
          Registers the given association in the user specific level.
 void AssociationService.unregisterSystemAssociation(Association assoc)
          Unregisters the given association in the system level.
 void AssociationService.unregisterUserAssociation(Association assoc)
          Unregisters the given association in the user specific level.
 


JDIC API V2006 Release 0308

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.