Jnlp installer desc
Specifies the platform for which this information element should be considered. Specifies the locale for which this information element should be considered. A URL pointing to where more information on this application can be found. Describes an icon that can be used to identify the application to the user. A URL pointing to the icon file, may be in one of the following formats: gif, jpg, png, ico. Can be used to indicate an application's preference for putting a shortcut on the users desktop.
Can be used to indicate an application's preference for where to place the menu item. Contains the mime-type that the application requests it be registered to handle. Describes an additional piece of related content that may be integrated with the application. Specifies the operating system for which the resources element should be considered. Specifies the architecture for which the resources element should be considered. Specifies that the locales for which the resources element should be considered.
The URL denoting the supplier of this version of java, and where it may be downloaded from. Specifies a JAR file that is part of the application's classpath. No offline-allowed Indicates that this application can operate when the client system is disconnected from the network. NA No shortcut Can be used to indicate an application's preferences for desktop integration.
If the value is true , then the application prefers to be considered installed. The default value of the install attribute is false. On Windows, this determines if the application appears in the Add and Remove Programs panel. Added in 7. No desktop Can be used to indicate an application's preference for putting a shortcut on the users desktop. No association Can be used to hint to the JNLP client that it wants to be registered with the operating system as the primary handler of certain extensions and a certain MIME type.
No related-content Describes an additional piece of related content that can be integrated with the application. No update Indicates the preferences for how application updates should be handled by the JNLP client. Valid values are always , timeout , and background. Valid values are always , prompt-update , and prompt-run. No security Requests enhanced permissions. NA No all-permissions Requests that the application be run with all permissions.
NA No j2ee-application-client-permissions Requests that the application be run with a permission set that meets the security specifications of the J2EE application client environment. NA No resources Describes all the resources that are needed for an application. Yes java or j2se Specifies the versions of Java to use to run the application.
No jar Specifies a JAR file that is part of the application's class path. Requires using the version-based download protocol. No extension Contains a pointer to an additional component-desc or installer-desc to be used with this application.
No ext-download Can be used in an extension element to denote the parts contained in a component extension. No property Defines a system property that will be available through the System.
Valid values are Java and JavaFX. The default is Java. A JNLP file must contain one of the following elements: application-desc applet-desc component-desc installer-desc. The following values are valid for kind : one-line : If a reference to the application is going to appear on one row in a list or a table, then this description is used.
All descriptions contain plain text. No formatting, such as with HTML tags, is supported. The icons are used to represent the application: During the launch when Java Web Start presents the application to the user In the Java Application Cache Viewer In desktop shortcuts A 64x64 icon is shown during the download. The optional kind attribute can have one of the following values: default : The specified image is used in the Java Application Cache Viewer.
It is also used if an icon element with a particular kind attribute has not been specified. Not specifying the kind attribute is the same as specifying it with the default value. During the initial launch of the application, before resources are downloaded, the default splash image is used. It can contain any of the following subelements: description element: A short description of the related content.
The update element can contain the following two optional attributes: check attribute: The check attribute indicates the preference for when the JNLP Client should check for updates. The following values are valid: always : Check for updates before launching the application. The following values are valid: always default : Download updates without any prompt.
Predefined secure properties: sun. The application element has an optional attribute, main-class , for specifying the name of the application's main class, which is the class where execution must begin: For Java applications, the main class is the class that contains the public static void main String argv[] method.
Contains other elements that describe the application and its source. Specifies the title of the application.
Specifies the provider of the application. Short statement describing the application. Describes an icon that can be used to identify the application to the user. Can be used to indicate an application's preferences for desktop integration. Requests that the application be run with all permissions. Describes all the resources that are needed for an application. Specifies a JAR file that is part of the application's class path.
The return value indicates if the shortcuts have been installed successfully or not. The methods hasDesktopShortcut and hasMenuShortcut can be used to query the existence of shortcuts. The method removeShortcuts will attempt to remove shortcuts for the application and return true if it was successful or there have been no shortcuts to begin with, and false if they have not been successfully removed e.
Applications can request a mime-type association, query the existence of a mime-type association and request removal of a mime-type association using the following methods:.
The method requestAssociation requests that the application is associated with the specified mime-type and filename extensions. It returns true on success, and false otherwise. An application can use hasAssociation to query if it is associated with a specified mime-type. The method removeAssociation requests to remove the mime-type association and returns true on success and false otherwise. If this element is not included, the application is run in the security sandbox.
Requests that the RIA be run with a permission set that meets the security specifications of the J2EE application client environment. The URL denoting the supplier of this version of Java software, and from where it can be downloaded. Can be used to indicate that all package names, beginning with the given name, can be found in the given part. Defines a system property that will be available through the System. Note: A JNLP file must contain one of the following: application-desc, applet-desc, component-desc, or installer-desc.
The name of the class containing the public static void main String[] method of the application. Each argument contains in order an additional argument to be passed to the main method.
The name of the class containing the public static void main String[] method of the installer. For more information about character encoding in the Java platform, see the Supported Encodings Guide. All rights reserved. Hide TOC. Deployment In-Depth. Deploying a Java Web Start Application.
0コメント