org.xbill.DNS
Class Options

java.lang.Object
  |
  +--org.xbill.DNS.Options

public final class Options
extends Object

Boolean options:
bindttl - Print TTLs in BIND format
noprintin - Don't print the class of a record if it's IN
nohex - Don't print anything in hex (KEY flags, for example)
pqdn - Allow partially qualified domain names
2065sig - Omit the labels field from the SIG record's text format, as specified in RFC 2065 and changed in RFC 2535
verbose - Turn on general debugging statements
verbosehmac - Print all data digested by the HMAC routines
verbosemsg - Print all messages sent or received by SimpleResolver
verbosecompression - Print messages related to name compression
verbosebitstring - Print messages related to bitstring labels
verbosesec - Print messages related to signature verification

Valued options:
tsigfudge=n - Sets the default TSIG fudge value (in seconds)


Method Summary
static boolean check(String option)
          Checks if an option is defined
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

set

public static void set(String option)
Sets an option to "true"

set

public static void set(String option,
                       String value)
Sets an option to the the supplied value

unset

public static void unset(String option)
Removes an option

check

public static boolean check(String option)
Checks if an option is defined

value

public static String value(String option)
Returns the value of an option