| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| private static class | LauncherHelper.
A ModuleReference comparator that considers modules in the run-time image to be less than modules than not in the run-time image. |
| pack-priv static enum | |
| private static class | |
| private static enum | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static Class | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static String | |
| private static final String | |
| private static final String | |
| private static boolean | |
| private static boolean | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final String | |
| private static final String | |
| private static boolean | |
| private static PrintStream | |
| private static StringBuilder | |
| private static final String | |
| pack-priv static final boolean | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | appendVmSelectMessage(String vm1, String vm2)
Appends the vm selection messages to the header, already created. |
| pack-priv static void | appendVmSynonymMessage(String vm1, String vm2)
Appends the vm synonym message to the header, already created. |
| public static Class | Returns: the application's main classif set, all output will be routed to stderr printToStderr, int LaunchMode as determined by the arguments passed on the
command line mode, String the module name[/class], JAR file, or the main class
depending on the mode what)This method: 1. |
| pack-priv static void | |
| private static boolean | |
| pack-priv static String[] | |
| pack-priv static String[] | |
| private static String | |
| private static String | |
| private static String | |
| public static Class | |
| private static String | getLocalizedMessage(String key, Object... args)
A private helper method to get a localized message and also apply any arguments that we might pass. |
| private static String | |
| pack-priv static void | initHelpMessage(String progname)
The java -help message is split into 3 parts, an invariant, followed by a set of platform dependent variant messages, finally an invariant set of lines. |
| pack-priv static void | |
| pack-priv static void | |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| pack-priv static void | |
| private static Class | |
| private static Class | |
| pack-priv static String | |
| private static void | |
| pack-priv static void | printConciseUsageMessage(boolean printToStderr)
Prints the short usage text to the desired output stream. |
| pack-priv static void | printHelpMessage(boolean printToStderr)
Appends the last invariant part to the previously created messages, and finishes up the printing to the desired output stream. |
| private static void | |
| private static void | |
| private static void | |
| private static void | |
| private static void | |
| private static void | |
| pack-priv static void | |
| private static void | |
| pack-priv static void | |
| pack-priv static void | showSettings(boolean printToStderr, String optionFlag, long initialHeapSize, long maxHeapSize, long stackSize)
|
| private static <T> Stream | |
| private static void | |
| private static LauncherHelper. |
| ADD_EXPORTS | back to summary |
|---|---|
| private static final String ADD_EXPORTS | |
| ADD_OPENS | back to summary |
|---|---|
| private static final String ADD_OPENS | |
| appClass | back to summary |
|---|---|
| private static Class<?> appClass | |
| defaultBundleName | back to summary |
|---|---|
| private static final String defaultBundleName | |
| diagprop | back to summary |
|---|---|
| private static final String diagprop | |
| ENABLE_FINAL_FIELD_MUTATION | back to summary |
|---|---|
| private static final String ENABLE_FINAL_FIELD_MUTATION | |
| ENABLE_NATIVE_ACCESS | back to summary |
|---|---|
| private static final String ENABLE_NATIVE_ACCESS | |
| encoding | back to summary |
|---|---|
| private static String encoding | |
| encprop | back to summary |
|---|---|
| private static final String encprop | |
| INDENT | back to summary |
|---|---|
| private static final String INDENT | |
| isCharsetSupported | back to summary |
|---|---|
| private static boolean isCharsetSupported | |
| isStaticMain | back to summary |
|---|---|
| private static boolean isStaticMain | |
| JAVAFX_APPLICATION_CLASS_NAME | back to summary |
|---|---|
| private static final String JAVAFX_APPLICATION_CLASS_NAME | |
| JAVAFX_APPLICATION_MARKER | back to summary |
|---|---|
| private static final String JAVAFX_APPLICATION_MARKER | |
| JAVAFX_FXHELPER_CLASS_NAME_SUFFIX | back to summary |
|---|---|
| private static final String JAVAFX_FXHELPER_CLASS_NAME_SUFFIX | |
| JAVAFX_GRAPHICS_MODULE_NAME | back to summary |
|---|---|
| private static final String JAVAFX_GRAPHICS_MODULE_NAME | |
| LAUNCHER_AGENT_CLASS | back to summary |
|---|---|
| private static final String LAUNCHER_AGENT_CLASS | |
| LM_CLASS | back to summary |
|---|---|
| private static final int LM_CLASS | |
| LM_JAR | back to summary |
|---|---|
| private static final int LM_JAR | |
| LM_MODULE | back to summary |
|---|---|
| private static final int LM_MODULE | |
| LM_SOURCE | back to summary |
|---|---|
| private static final int LM_SOURCE | |
| LM_UNKNOWN | back to summary |
|---|---|
| private static final int LM_UNKNOWN | |
| LOCALE_SETTINGS | back to summary |
|---|---|
| private static final String LOCALE_SETTINGS | |
| MAIN_CLASS | back to summary |
|---|---|
| private static final String MAIN_CLASS | |
| noArgMain | back to summary |
|---|---|
| private static boolean noArgMain | |
| ostream | back to summary |
|---|---|
| private static PrintStream ostream | |
| outBuf | back to summary |
|---|---|
| private static StringBuilder outBuf | |
| PROP_SETTINGS | back to summary |
|---|---|
| private static final String PROP_SETTINGS | |
| trace | back to summary |
|---|---|
| pack-priv static final boolean trace | |
| VM_SETTINGS | back to summary |
|---|---|
| private static final String VM_SETTINGS | |
| LauncherHelper | back to summary |
|---|---|
| private LauncherHelper() | |
| abort | back to summary |
|---|---|
| pack-priv static void abort(Throwable t, String msgKey, Object... args) | |
| addExportsOrOpens | back to summary |
|---|---|
| pack-priv static void addExportsOrOpens(String value, boolean open) Process the Add-Exports or Add-Opens value. The value is
| |
| appendVmSelectMessage | back to summary |
|---|---|
| pack-priv static void appendVmSelectMessage(String vm1, String vm2) Appends the vm selection messages to the header, already created. initHelpSystem must already be called. | |
| appendVmSynonymMessage | back to summary |
|---|---|
| pack-priv static void appendVmSynonymMessage(String vm1, String vm2) Appends the vm synonym message to the header, already created. initHelpSystem must be called before using this method. | |
| checkAndLoadMain | back to summary |
|---|---|
| public static Class This method: 1. Loads the main class from the module or class path 2. Checks for a valid main method. 3. If the main class extends FX Application then call on FXHelper to perform the launch. | |
| describeModule | back to summary |
|---|---|
| pack-priv static void describeModule(String moduleName) Called by the launcher to describe a module | |
| doesExtendFXApplication | back to summary |
|---|---|
| private static boolean doesExtendFXApplication(Class<?> mainClass) | |
| expandArgs | back to summary |
|---|---|
| pack-priv static String[] expandArgs(String[] argArray) | |
| expandArgs | back to summary |
|---|---|
| pack-priv static String[] expandArgs(List<LauncherHelper. | |
| formatCpuVal | back to summary |
|---|---|
| private static String formatCpuVal(long cpuVal, String prefix, long unavailable) | |
| formatLimitString | back to summary |
|---|---|
| private static String formatLimitString(long limit, String prefix, long unavailable) | |
| formatLimitString | back to summary |
|---|---|
| private static String formatLimitString(long limit, String prefix, long unavailable, boolean scale) | |
| getApplicationClass | back to summary |
|---|---|
| public static Class | |
| getLocalizedMessage | back to summary |
|---|---|
| private static String getLocalizedMessage(String key, Object... args) A private helper method to get a localized message and also apply any arguments that we might pass. | |
| getMainClassFromJar | back to summary |
|---|---|
| private static String getMainClassFromJar(JarFile jarFile) throws IOException | |
| initHelpMessage | back to summary |
|---|---|
| pack-priv static void initHelpMessage(String progname) The java -help message is split into 3 parts, an invariant, followed by a set of platform dependent variant messages, finally an invariant set of lines. This method initializes the help message for the first time, and also assembles the invariant header part of the message. | |
| initOutput | back to summary |
|---|---|
| pack-priv static void initOutput(boolean printToStderr) | |
| initOutput | back to summary |
|---|---|
| pack-priv static void initOutput(PrintStream ps) | |
| isJrt | back to summary |
|---|---|
| private static boolean isJrt(ModuleReference mref) | |
| isJrt | back to summary |
|---|---|
| private static boolean isJrt(URI uri) | |
| isPath | back to summary |
|---|---|
| private static boolean isPath(String key) | |
| listModules | back to summary |
|---|---|
| pack-priv static void listModules() Called by the launcher to list the observable modules. | |
| loadMainClass | back to summary |
|---|---|
| private static Class Loads the main class from the class path (LM_CLASS or LM_JAR). | |
| loadModuleMainClass | back to summary |
|---|---|
| private static Class Returns the main class for a module. The query is either a module name or module-name/main-class. For the former then the module's main class is obtained from the module descriptor (MainClass attribute). | |
| makePlatformString | back to summary |
|---|---|
| pack-priv static String makePlatformString(boolean printToStderr, byte[] inArray) | |
| printAllSettings | back to summary |
|---|---|
| private static void printAllSettings(long initialHeapSize, long maxHeapSize, long stackSize, boolean verbose) | |
| printConciseUsageMessage | back to summary |
|---|---|
| pack-priv static void printConciseUsageMessage(boolean printToStderr) Prints the short usage text to the desired output stream. | |
| printHelpMessage | back to summary |
|---|---|
| pack-priv static void printHelpMessage(boolean printToStderr) Appends the last invariant part to the previously created messages, and finishes up the printing to the desired output stream. initHelpSystem must be called before using this method. | |
| printLocale | back to summary |
|---|---|
| private static void printLocale(boolean verbose) | |
| printLocales | back to summary |
|---|---|
| private static void printLocales() | |
| printProperties | back to summary |
|---|---|
| private static void printProperties() | |
| printPropertyValue | back to summary |
|---|---|
| private static void printPropertyValue(String key, String value) | |
| printSystemMetrics | back to summary |
|---|---|
| private static void printSystemMetrics() | |
| printVmSettings | back to summary |
|---|---|
| private static void printVmSettings(long initialHeapSize, long maxHeapSize, long stackSize) | |
| printXUsageMessage | back to summary |
|---|---|
| pack-priv static void printXUsageMessage(boolean printToStderr) Prints the Xusage text to the desired output stream. | |
| showModule | back to summary |
|---|---|
| private static void showModule(ModuleReference mref) Prints a single line with the module name, version and modifiers | |
| showResolvedModules | back to summary |
|---|---|
| pack-priv static void showResolvedModules() Called by the launcher to show the resolved modules | |
| showSettings | back to summary |
|---|---|
| pack-priv static void showSettings(boolean printToStderr, String optionFlag, long initialHeapSize, long maxHeapSize, long stackSize) | |
| toStringStream | back to summary |
|---|---|
| private static <T> Stream | |
| validateMainMethod | back to summary |
|---|---|
| private static void validateMainMethod(Class<?> mainClass) | |
| validateOption | back to summary |
|---|---|
| private static LauncherHelper. | |
| Modifier and Type | Field and Description |
|---|---|
| private static Class | |
| private static Method | |
| private static String | |
| private static String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| private static void |
| fxLauncherClass | back to summary |
|---|---|
| private static Class<?> fxLauncherClass | |
| fxLauncherMethod | back to summary |
|---|---|
| private static Method fxLauncherMethod | |
| fxLaunchMode | back to summary |
|---|---|
| private static String fxLaunchMode | |
| fxLaunchName | back to summary |
|---|---|
| private static String fxLaunchName | |
| JAVAFX_LAUNCH_MODE_CLASS | back to summary |
|---|---|
| private static final String JAVAFX_LAUNCH_MODE_CLASS | |
| JAVAFX_LAUNCH_MODE_JAR | back to summary |
|---|---|
| private static final String JAVAFX_LAUNCH_MODE_JAR | |
| JAVAFX_LAUNCH_MODE_MODULE | back to summary |
|---|---|
| private static final String JAVAFX_LAUNCH_MODE_MODULE | |
| JAVAFX_LAUNCHER_CLASS_NAME | back to summary |
|---|---|
| private static final String JAVAFX_LAUNCHER_CLASS_NAME | |
| FXHelper | back to summary |
|---|---|
| pack-priv FXHelper() | |
| main | back to summary |
|---|---|
| public static void main(String... args) throws Exception | |
| setFXLaunchParameters | back to summary |
|---|---|
| private static void setFXLaunchParameters(String what, int mode) | |
| Modifier and Type | Field and Description |
|---|---|
| private final Comparator |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(ModuleReference a, ModuleReference b)
Implements java. Compares its two arguments for order. |
| real | back to summary |
|---|---|
| private final Comparator<ModuleReference> real | |
| JrtFirstComparator | back to summary |
|---|---|
| pack-priv JrtFirstComparator() | |
| compare | back to summary |
|---|---|
| public int compare(ModuleReference a, ModuleReference b) Implements java. Doc from java. Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
The implementor must ensure that
The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final LauncherHelper. | |
| public static final LauncherHelper. | |
| public static final LauncherHelper. | |
| public static final LauncherHelper. | |
| public static final LauncherHelper. | |
| public static final LauncherHelper. | |
| public static final LauncherHelper. | |
| public static final LauncherHelper. | |
| public static final LauncherHelper. | |
| public static final LauncherHelper. | |
| public static final LauncherHelper. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static LauncherHelper. | |
| public static LauncherHelper. |
| ALL | back to summary |
|---|---|
| public static final LauncherHelper. | |
| DEFAULT | back to summary |
|---|---|
| public static final LauncherHelper. | |
| LOCALE | back to summary |
|---|---|
| public static final LauncherHelper. | |
| PROPERTIES | back to summary |
|---|---|
| public static final LauncherHelper. | |
| SECURITY | back to summary |
|---|---|
| public static final LauncherHelper. | |
| SECURITY_ALL | back to summary |
|---|---|
| public static final LauncherHelper. | |
| SECURITY_PROPERTIES | back to summary |
|---|---|
| public static final LauncherHelper. | |
| SECURITY_PROVIDERS | back to summary |
|---|---|
| public static final LauncherHelper. | |
| SECURITY_TLS | back to summary |
|---|---|
| public static final LauncherHelper. | |
| SYSTEM | back to summary |
|---|---|
| public static final LauncherHelper. | |
| VM | back to summary |
|---|---|
| public static final LauncherHelper. | |
| Option | back to summary |
|---|---|
| private Option() | |
| valueOf | back to summary |
|---|---|
| public static LauncherHelper. | |
| values | back to summary |
|---|---|
| public static LauncherHelper. | |
| Modifier and Type | Field and Description |
|---|---|
| private static final ResourceBundle |
| Access | Constructor and Description |
|---|---|
| private |
| RB | back to summary |
|---|---|
| private static final ResourceBundle RB | |
| ResourceBundleHolder | back to summary |
|---|---|
| private ResourceBundleHolder() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | |
| public static final LauncherHelper. | |
| public static final LauncherHelper. | |
| public static final LauncherHelper. | |
| pack-priv long | |
| public static final LauncherHelper. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| pack-priv static String | |
| public static LauncherHelper. | |
| public static LauncherHelper. |
| abbrev | back to summary |
|---|---|
| pack-priv String abbrev | |
| GIGA | back to summary |
|---|---|
| public static final LauncherHelper. | |
| KILO | back to summary |
|---|---|
| public static final LauncherHelper. | |
| MEGA | back to summary |
|---|---|
| public static final LauncherHelper. | |
| size | back to summary |
|---|---|
| pack-priv long size | |
| TERA | back to summary |
|---|---|
| public static final LauncherHelper. | |
| SizePrefix | back to summary |
|---|---|
| private SizePrefix(long size, String abbrev) | |
| scale | back to summary |
|---|---|
| private static String scale(long v, LauncherHelper. | |
| scaleValue | back to summary |
|---|---|
| pack-priv static String scaleValue(long v) | |
| valueOf | back to summary |
|---|---|
| public static LauncherHelper. | |
| values | back to summary |
|---|---|
| public static LauncherHelper. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final String | |
| pack-priv final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| arg | back to summary |
|---|---|
| pack-priv final String arg | |
| needsExpansion | back to summary |
|---|---|
| pack-priv final boolean needsExpansion | |
| StdArg | back to summary |
|---|---|
| pack-priv StdArg(String arg, boolean expand) | |
| StdArg | back to summary |
|---|---|
| pack-priv StdArg(String in) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |