Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 17 jdk.jpackage.jmod - JPackage Tool
JDK 17 jdk.jpackage.jmod is the JMOD file for JDK 17 JPackage tool, which can be invoked by the "jpackage" command.
JDK 17 JPackage tool compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.jpackage.jmod.
JDK 17 JPackage tool compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 JPackage tool source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.jpackage.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ jdk/jpackage/internal/ValidOptions.java
/* * Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package jdk.jpackage.internal; import java.util.HashMap; import jdk.jpackage.internal.Arguments.CLIOptions; /** * ValidOptions * * Two basic methods for validating command line options. * * initArgs() * Computes the Map of valid options for each mode on this Platform. * * checkIfSupported(CLIOptions arg) * Determine if the given arg is valid on this platform. * * checkIfImageSupported(CLIOptions arg) * Determine if the given arg is valid for creating app image. * * checkIfInstallerSupported(CLIOptions arg) * Determine if the given arg is valid for creating installer. * */ class ValidOptions { enum USE { ALL, // valid in all cases LAUNCHER, // valid when creating a launcher INSTALL // valid when creating an installer } private static final HashMap<String, USE> options = new HashMap<>(); // initializing list of mandatory arguments static { options.put(CLIOptions.NAME.getId(), USE.ALL); options.put(CLIOptions.VERSION.getId(), USE.ALL); options.put(CLIOptions.OUTPUT.getId(), USE.ALL); options.put(CLIOptions.TEMP_ROOT.getId(), USE.ALL); options.put(CLIOptions.VERBOSE.getId(), USE.ALL); options.put(CLIOptions.PREDEFINED_RUNTIME_IMAGE.getId(), USE.ALL); options.put(CLIOptions.RESOURCE_DIR.getId(), USE.ALL); options.put(CLIOptions.DESCRIPTION.getId(), USE.ALL); options.put(CLIOptions.VENDOR.getId(), USE.ALL); options.put(CLIOptions.COPYRIGHT.getId(), USE.ALL); options.put(CLIOptions.PACKAGE_TYPE.getId(), USE.ALL); options.put(CLIOptions.ICON.getId(), USE.ALL); options.put(CLIOptions.INPUT.getId(), USE.LAUNCHER); options.put(CLIOptions.MODULE.getId(), USE.LAUNCHER); options.put(CLIOptions.MODULE_PATH.getId(), USE.LAUNCHER); options.put(CLIOptions.ADD_MODULES.getId(), USE.LAUNCHER); options.put(CLIOptions.MAIN_JAR.getId(), USE.LAUNCHER); options.put(CLIOptions.APPCLASS.getId(), USE.LAUNCHER); options.put(CLIOptions.ARGUMENTS.getId(), USE.LAUNCHER); options.put(CLIOptions.JAVA_OPTIONS.getId(), USE.LAUNCHER); options.put(CLIOptions.ADD_LAUNCHER.getId(), USE.LAUNCHER); options.put(CLIOptions.JLINK_OPTIONS.getId(), USE.LAUNCHER); options.put(CLIOptions.LICENSE_FILE.getId(), USE.INSTALL); options.put(CLIOptions.INSTALL_DIR.getId(), USE.INSTALL); options.put(CLIOptions.PREDEFINED_APP_IMAGE.getId(), USE.INSTALL); options.put(CLIOptions.ABOUT_URL.getId(), USE.INSTALL); options.put(CLIOptions.FILE_ASSOCIATIONS.getId(), (Platform.getPlatform() == Platform.MAC) ? USE.ALL : USE.INSTALL); if (Platform.getPlatform() == Platform.WINDOWS) { options.put(CLIOptions.WIN_CONSOLE_HINT.getId(), USE.LAUNCHER); options.put(CLIOptions.WIN_HELP_URL.getId(), USE.INSTALL); options.put(CLIOptions.WIN_UPDATE_URL.getId(), USE.INSTALL); options.put(CLIOptions.WIN_MENU_HINT.getId(), USE.INSTALL); options.put(CLIOptions.WIN_MENU_GROUP.getId(), USE.INSTALL); options.put(CLIOptions.WIN_SHORTCUT_HINT.getId(), USE.INSTALL); options.put(CLIOptions.WIN_SHORTCUT_PROMPT.getId(), USE.INSTALL); options.put(CLIOptions.WIN_DIR_CHOOSER.getId(), USE.INSTALL); options.put(CLIOptions.WIN_UPGRADE_UUID.getId(), USE.INSTALL); options.put(CLIOptions.WIN_PER_USER_INSTALLATION.getId(), USE.INSTALL); } if (Platform.getPlatform() == Platform.MAC) { options.put(CLIOptions.MAC_SIGN.getId(), USE.ALL); options.put(CLIOptions.MAC_BUNDLE_NAME.getId(), USE.ALL); options.put(CLIOptions.MAC_BUNDLE_IDENTIFIER.getId(), USE.ALL); options.put(CLIOptions.MAC_BUNDLE_SIGNING_PREFIX.getId(), USE.ALL); options.put(CLIOptions.MAC_SIGNING_KEY_NAME.getId(), USE.ALL); options.put(CLIOptions.MAC_SIGNING_KEYCHAIN.getId(), USE.ALL); options.put(CLIOptions.MAC_APP_STORE.getId(), USE.ALL); options.put(CLIOptions.MAC_CATEGORY.getId(), USE.ALL); options.put(CLIOptions.MAC_ENTITLEMENTS.getId(), USE.ALL); } if (Platform.getPlatform() == Platform.LINUX) { options.put(CLIOptions.LINUX_BUNDLE_NAME.getId(), USE.INSTALL); options.put(CLIOptions.LINUX_DEB_MAINTAINER.getId(), USE.INSTALL); options.put(CLIOptions.LINUX_CATEGORY.getId(), USE.INSTALL); options.put(CLIOptions.LINUX_RPM_LICENSE_TYPE.getId(), USE.INSTALL); options.put(CLIOptions.LINUX_PACKAGE_DEPENDENCIES.getId(), USE.INSTALL); options.put(CLIOptions.LINUX_MENU_GROUP.getId(), USE.INSTALL); options.put(CLIOptions.RELEASE.getId(), USE.INSTALL); options.put(CLIOptions.LINUX_SHORTCUT_HINT.getId(), USE.INSTALL); } } static boolean checkIfSupported(CLIOptions arg) { return options.containsKey(arg.getId()); } static boolean checkIfImageSupported(CLIOptions arg) { USE use = options.get(arg.getId()); return USE.ALL == use || USE.LAUNCHER == use; } static boolean checkIfInstallerSupported(CLIOptions arg) { USE use = options.get(arg.getId()); return USE.ALL == use || USE.INSTALL == use; } }
⏎ jdk/jpackage/internal/ValidOptions.java
Or download all of them as a single archive file:
File name: jdk.jpackage-17.0.5-src.zip File size: 92069 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.jshell.jmod - JShell Tool
2023-08-03, 2193👍, 0💬
Popular Posts:
JDK 11 jdk.rmic.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) Compiler Tool tool, ...
What JAR files are required to run dom\Counter.java provided in the Apache Xerces package? You can f...
JDK 11 jdk.rmic.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) Compiler Tool tool, ...
Apache Axis2 is the core engine for Web services. It is a complete re-design and re-write of the wid...
ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify ex...