Package org.xbill.DNS
Class Options
java.lang.Object
org.xbill.DNS.Options
Configuration options for dnsjava.
Boolean options:
- BINDTTL - Print TTLs in BIND format
- multiline - Print records in multiline format
- noPrintIN - Don't print the class of a record if it's IN
Valued options:
- tsigfudge=n - Sets the default TSIG fudge value (in seconds)
- sig0validity=n - Sets the default SIG(0) validity period (in seconds)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks if an option is definedstatic voidclear()Clears all defined optionsstatic intReturns the value of an option as an integer, or -1 if not defined.(package private) static booleanstatic voidrefresh()static voidSets an option totrue.static voidSets an option to the supplied valuestatic voidRemoves an optionstatic StringReturns the value of an option
-
Field Details
-
table
-
-
Constructor Details
-
Options
private Options()
-
-
Method Details
-
refresh
public static void refresh() -
clear
public static void clear()Clears all defined options -
set
Sets an option totrue. -
set
Sets an option to the supplied value -
unset
Removes an option -
check
Checks if an option is defined -
value
Returns the value of an option -
intValue
Returns the value of an option as an integer, or -1 if not defined. -
multiline
static boolean multiline()
-