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

pack-priv Interface ValueConverter<T, U>

extends ValueConverterFunction<T, U>
Imports
java.util.Objects

Method Summary

Modifier and TypeMethod and Description
public static <T, U> ValueConverter<T, U>
create(ValueConverterFunction<T, U> conv, Class<? extends U> type)

public Class<? extends U>

Returns:

the target class for conversion
valueType
()

Gives the class of the type of values this converter converts to.

Inherited from jdk.jpackage.internal.cli.ValueConverterFunction:
convert

Method Detail

createback to summary
public static <T, U> ValueConverter<T, U> create(ValueConverterFunction<T, U> conv, Class<? extends U> type)
valueTypeback to summary
public Class<? extends U> valueType()

Gives the class of the type of values this converter converts to.

Returns:Class<? extends U>

the target class for conversion