org.jwall.rbl.dns
Class ResourceRecord

java.lang.Object
  extended by org.jwall.rbl.dns.ResourceRecord
Direct Known Subclasses:
AAAARecord, ARecord, PtrRecord

public class ResourceRecord
extends Object


Field Summary
static int RCLASS_IN
           
static int TYPE_A
           
static byte TYPE_CNAME
           
static byte TYPE_MX
           
static byte[] TYPE_NS
           
static byte TYPE_PTR
           
static byte TYPE_SOA
           
static byte TYPE_TXT
           
 
Constructor Summary
protected ResourceRecord(String value, int type, int ttl)
           
 
Method Summary
 int length()
           
 byte[] toByteArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_A

public static final int TYPE_A
See Also:
Constant Field Values

TYPE_NS

public static final byte[] TYPE_NS

TYPE_CNAME

public static final byte TYPE_CNAME
See Also:
Constant Field Values

TYPE_SOA

public static final byte TYPE_SOA
See Also:
Constant Field Values

TYPE_PTR

public static final byte TYPE_PTR
See Also:
Constant Field Values

TYPE_MX

public static final byte TYPE_MX
See Also:
Constant Field Values

TYPE_TXT

public static final byte TYPE_TXT
See Also:
Constant Field Values

RCLASS_IN

public static final int RCLASS_IN
See Also:
Constant Field Values
Constructor Detail

ResourceRecord

protected ResourceRecord(String value,
                         int type,
                         int ttl)
Method Detail

length

public int length()

toByteArray

public byte[] toByteArray()


Copyright © 2014. All Rights Reserved.