org.xbill.DNS
Class OPTRecord.Option

java.lang.Object
  extended by org.xbill.DNS.OPTRecord.Option
Enclosing class:
OPTRecord

public static class OPTRecord.Option
extends Object


Field Summary
 int code
           
 byte[] data
           
 
Constructor Summary
OPTRecord.Option(int code, byte[] data)
          Creates an option with the given option code and data.
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

code

public final int code

data

public final byte[] data
Constructor Detail

OPTRecord.Option

public OPTRecord.Option(int code,
                        byte[] data)
Creates an option with the given option code and data.

Method Detail

toString

public String toString()
Overrides:
toString in class Object