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

pack-priv Interface OptionArrayValueConverter<T>

extends OptionValueConverter<String, T[]>
Known Direct Implementers
jdk.jpackage.internal.cli.OptionsProcessor.OptionsConverter, jdk.jpackage.internal.cli.OptionValueConverter.Builder.DefaultOptionArrayValueConverter
Type Parameters
<T>
option value element type

Defines creating an option value of type T[] from a string.

Method Summary

Modifier and TypeMethod and Description
public String[]

Returns:

the result of tokenization of the input string
tokenize
(String
the string to tokenize
str
)

Splits the given string into tokens and returns the result.

Inherited from jdk.jpackage.internal.cli.OptionValueConverter:
buildconvertconvertStringvalueType

Method Detail

tokenizeback to summary
public String[] tokenize(String str)

Splits the given string into tokens and returns the result.

Parameters
str:String

the string to tokenize

Returns:String[]

the result of tokenization of the input string