Class AssociationDesc
java.lang.Object
net.adoptopenjdk.icedteaweb.jnlp.element.information.AssociationDesc
The optional association element is a hint to the JNLP client that it wishes to be registered with the
operating system as the primary handler of certain extensions and a certain mime-type. The association
element must have the extensions and mime-type attributes, and may contain the two optional sub elements
description, and icon.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAssociationDesc(String mimeType, String[] extensions) AssociationDesc(String mimeType, String[] extensions, String description, IconDesc icon) -
Method Summary
-
Field Details
-
ASSOCIATION_ELEMENT
- See Also:
-
EXTENSIONS_ATTRIBUTE
- See Also:
-
MIME_TYPE_ATTRIBUTE
- See Also:
-
DESCRIPTION_ELEMENT
- See Also:
-
ICON_ELEMENT
- See Also:
-
-
Constructor Details
-
AssociationDesc
- Throws:
ParseException
-
AssociationDesc
public AssociationDesc(String mimeType, String[] extensions, String description, IconDesc icon) throws ParseException - Throws:
ParseException
-
-
Method Details
-
getExtensions
- Returns:
- the extensions for this association
-
getMimeType
- Returns:
- the MIME type for this association
-
getDescription
- Returns:
- the short description of the association
-
getIcon
- Returns:
- the icon descriptor for this association
-