Package | Description |
---|---|
org.xnio |
The main API package for XNIO.
|
Modifier and Type | Method and Description |
---|---|
OptionMap.Builder |
OptionMap.Builder.add(Map<?,?> map)
Add all the entries of a map.
|
OptionMap.Builder |
OptionMap.Builder.addAll(OptionMap optionMap)
Add all entries from an existing option map to the one being built.
|
static OptionMap.Builder |
OptionMap.builder()
Create a new builder.
|
<T> OptionMap.Builder |
OptionMap.Builder.parse(Option<T> key,
String stringValue)
Set a key-value pair, parsing the value from the given string.
|
<T> OptionMap.Builder |
OptionMap.Builder.parse(Option<T> key,
String stringValue,
ClassLoader classLoader)
Set a key-value pair, parsing the value from the given string.
|
OptionMap.Builder |
OptionMap.Builder.parseAll(Properties props,
String prefix)
Add all options from a properties file.
|
OptionMap.Builder |
OptionMap.Builder.parseAll(Properties props,
String prefix,
ClassLoader optionClassLoader)
Add all options from a properties file.
|
OptionMap.Builder |
OptionMap.Builder.set(Option<Boolean> key,
boolean value)
Set a boolean value for a Boolean key.
|
OptionMap.Builder |
OptionMap.Builder.set(Option<Integer> key,
int value)
Set an int value for an Integer key.
|
OptionMap.Builder |
OptionMap.Builder.set(Option<Long> key,
long value)
Set a long value for a Long key.
|
<T> OptionMap.Builder |
OptionMap.Builder.set(Option<T> key,
T value)
Set a key-value pair.
|
OptionMap.Builder |
OptionMap.Builder.setSequence(Option<Sequence<Boolean>> key,
boolean... values)
Set boolean values for an Boolean sequence key.
|
OptionMap.Builder |
OptionMap.Builder.setSequence(Option<Sequence<Integer>> key,
int... values)
Set int values for an Integer sequence key.
|
OptionMap.Builder |
OptionMap.Builder.setSequence(Option<Sequence<Long>> key,
long... values)
Set long values for a Long sequence key.
|
<T> OptionMap.Builder |
OptionMap.Builder.setSequence(Option<Sequence<T>> key,
T... values)
Set a key-value pair, where the value is a sequence type.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.