APIdia Launch Partner
Top Inners Constructors Methods
jdk.jpackage.internal.cli

pack-priv final Class Utils

extends Object
Class Inheritance
Static Imports
jdk.jpackage.internal.util.function.ThrowingFunction.toFunction

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static JOptSimpleOptionsBuilder
pack-priv static Stream<? extends OptionValue<?>>

Returns:

stream of option values with option specs defined in the specified class
getOptionsWithSpecs
(Class<?>
the target class
c
)

Returns stream of option values with option specs defined in the specified class.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Utilsback to summary
private Utils()

Method Detail

buildParserback to summary
pack-priv static JOptSimpleOptionsBuilder buildParser(OperatingSystem os, BundlingEnvironment bundlingEnv)
getOptionsWithSpecsback to summary
pack-priv static Stream<? extends OptionValue<?>> getOptionsWithSpecs(Class<?> c)

Returns stream of option values with option specs defined in the specified class.

The method uses reflection to get public and package private fields of type OptionValue and filters those associated with OptionSpec instances.

Parameters
c:Class<?>

the target class

Returns:Stream<? extends OptionValue<?>>

stream of option values with option specs defined in the specified class

jdk.jpackage.internal.cli back to summary

pack-priv final Class Utils.ParseException

extends RuntimeException
Class Inheritance
Annotations
@SelfContainedException

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
pack-priv

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

ParseExceptionback to summary
pack-priv ParseException(String msg)