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)
- Author:
- Brian Wellington
-
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.static voidrefresh()static voidSets an option to "true"static voidSets an option to the the supplied valuestatic voidRemoves an optionstatic StringReturns the value of an option
-
Method Details
-
refresh
public static void refresh() -
clear
public static void clear()Clears all defined options -
set
Sets an option to "true" -
set
Sets an option to the 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.
-