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

pack-priv Interface ValueConverterFunction<T, U>

Known Direct Subinterfaces
jdk.jpackage.internal.cli.ValueConverter
Annotations
@FunctionalInterface

Method Summary

Modifier and TypeMethod and Description
public U

Returns:

the converted value
convert
(T
the value to convert
value
)

Converts value of one type into another.

Method Detail

convertback to summary
public U convert(T value) throws Exception, IllegalArgumentException

Converts value of one type into another.

Parameters
value:T

the value to convert

Returns:U

the converted value

Exceptions
Exception:
if internal converter error occurs
IllegalArgumentException:
if the given value can not be converted to an object of type U