Interface WinLauncher
- All Superinterfaces:
Launcher,WinLauncherMixin
-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.jpackage.internal.model.Launcher
Launcher.StubNested classes/interfaces inherited from interface jdk.jpackage.internal.model.WinLauncherMixin
WinLauncherMixin.Stub, WinLauncherMixin.WinShortcut -
Method Summary
Modifier and TypeMethodDescriptionstatic WinLaunchercreate(Launcher launcher, WinLauncherMixin mixin) default InputStreamOpens a stream with the template executable file for this launcher.Gets extension of the executable file of this launcher if available or an emptyOptionalinstance 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, startupInfoMethods inherited from interface jdk.jpackage.internal.model.WinLauncherMixin
isConsole, shortcuts
-
Method Details
-
executableSuffix
Description copied from interface:LauncherGets extension of the executable file of this launcher if available or an emptyOptionalinstance otherwise.- Specified by:
executableSuffixin interfaceLauncher- Returns:
- the extension of the executable file of this launcher
-
executableResource
Description copied from interface:LauncherOpens a stream with the template executable file for this launcher. Caller is responsible for close the stream.- Specified by:
executableResourcein interfaceLauncher- Returns:
- a stream with the template executable file for this launcher
-
extraAppImageFileData
Description copied from interface:LauncherGets the additional properties for application launcher entries in the app image (".jpackage") file.- Specified by:
extraAppImageFileDatain interfaceLauncher- Returns:
- the additional properties for application launcher entries in ".jpackage" file
-
create
-