|
JDIC API V2006 Release 0308 | |||||||||
上一个 下一个 | 框架 无框架 |
使用 Association 的软件包 | |
---|---|
org.jdesktop.jdic.filetypes | Provides classes for associating applications with file types and accessing a registered file type association. |
org.jdesktop.jdic.filetypes 中 Association 的使用 |
---|
返回 Association 的 org.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. |
参数类型为 Association 的 org.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 | |||||||||
上一个 下一个 | 框架 无框架 |
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.