public final class Options extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
check(String option)
Checks if an option is defined
|
static void |
clear()
Clears all defined options
|
static int |
intValue(String option)
Returns the value of an option as an integer, or -1 if not defined.
|
static void |
refresh() |
static void |
set(String option)
Sets an option to "true"
|
static void |
set(String option,
String value)
Sets an option to the the supplied value
|
static void |
unset(String option)
Removes an option
|
static String |
value(String option)
Returns the value of an option
|
public static void refresh()
public static void clear()
public static void set(String option)
public static void unset(String option)
public static boolean check(String option)
public static int intValue(String option)
Copyright © 2020 dnsjava.org. All rights reserved.