Uses of Class
org.xnio.OptionMap.Builder
Packages that use OptionMap.Builder
-
Uses of OptionMap.Builder in org.xnio
Methods in org.xnio that return OptionMap.BuilderModifier and TypeMethodDescriptionAdd all the entries of a map.Add all entries from an existing option map to the one being built.static OptionMap.Builder
OptionMap.builder()
Create a new builder.Set a key-value pair, parsing the value from the given string.OptionMap.Builder.parse
(Option<T> key, String stringValue, ClassLoader classLoader) Set a key-value pair, parsing the value from the given string.OptionMap.Builder.parseAll
(Properties props, String prefix) Add all options from a properties file.OptionMap.Builder.parseAll
(Properties props, String prefix, ClassLoader optionClassLoader) Add all options from a properties file.Set a boolean value for a Boolean key.Set an int value for an Integer key.Set a long value for a Long key.Set a key-value pair.OptionMap.Builder.setSequence
(Option<Sequence<Boolean>> key, boolean... values) Set boolean values for an Boolean sequence key.OptionMap.Builder.setSequence
(Option<Sequence<Integer>> key, int... values) Set int values for an Integer sequence key.OptionMap.Builder.setSequence
(Option<Sequence<Long>> key, long... values) Set long values for a Long sequence key.OptionMap.Builder.setSequence
(Option<Sequence<T>> key, T... values) Set a key-value pair, where the value is a sequence type.