Interface WinLauncher
- All Superinterfaces:
Launcher
,WinLauncherMixin
-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.jpackage.internal.model.Launcher
Launcher.Stub
Nested classes/interfaces inherited from interface jdk.jpackage.internal.model.WinLauncherMixin
WinLauncherMixin.Stub, WinLauncherMixin.WinShortcut
-
Method Summary
Modifier and TypeMethodDescriptionstatic WinLauncher
create
(Launcher launcher, WinLauncherMixin mixin) default InputStream
Opens a stream with the template executable file for this launcher.Gets extension of the executable file of this launcher if available or an emptyOptional
instance otherwise.Gets the additional properties for application launcher entries in the app image (".jpackage") file.Methods inherited from interface jdk.jpackage.internal.model.Launcher
defaultIconResourceName, description, executableName, executableNameWithSuffix, fileAssociations, hasCustomIcon, hasDefaultIcon, hasIcon, icon, isService, name, startupInfo
Methods inherited from interface jdk.jpackage.internal.model.WinLauncherMixin
isConsole, shortcuts
-
Method Details
-
executableSuffix
Description copied from interface:Launcher
Gets extension of the executable file of this launcher if available or an emptyOptional
instance otherwise.- Specified by:
executableSuffix
in interfaceLauncher
- Returns:
- the extension of the executable file of this launcher
-
executableResource
Description copied from interface:Launcher
Opens a stream with the template executable file for this launcher. Caller is responsible for close the stream.- Specified by:
executableResource
in interfaceLauncher
- Returns:
- a stream with the template executable file for this launcher
-
extraAppImageFileData
Description copied from interface:Launcher
Gets the additional properties for application launcher entries in the app image (".jpackage") file.- Specified by:
extraAppImageFileData
in interfaceLauncher
- Returns:
- the additional properties for application launcher entries in ".jpackage" file
-
create
-