com.antiaction.dns
Class DNSSectionType

java.lang.Object
  |
  +--com.antiaction.dns.DNSSectionType

public class DNSSectionType
extends java.lang.Object

DNS Section Type, defines types used to retrieve records stored by their type.

Version:
2.00
Author:
Nicholas Clarke

Field Summary
static int ADDITIONAL
          Additional.
static int ALL
          All.
static int ANSWER
          Answer.
static int AUTHORITY
          Authority.
 
Method Summary
static java.lang.String toString(int i)
          Given a section type returns a string representation.
static boolean validSectionType(int i)
          Given a section type returns a boolean indicating validity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANSWER

public static final int ANSWER
Answer.

AUTHORITY

public static final int AUTHORITY
Authority.

ADDITIONAL

public static final int ADDITIONAL
Additional.

ALL

public static final int ALL
All.
Method Detail

validSectionType

public static boolean validSectionType(int i)
Given a section type returns a boolean indicating validity.
Parameters:
i - section type.
Returns:
sectopn type validity.
See Also:
toString(int)

toString

public static java.lang.String toString(int i)
Given a section type returns a string representation.
Parameters:
i - section type.
Returns:
section type string.
See Also:
validSectionType(int)