Package org.xbill.DNS
Class Section
java.lang.Object
org.xbill.DNS.Section
Constants and functions relating to DNS message sections
- Author:
- Brian Wellington
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe additional (fourth) sectionstatic final intThe answer (second) sectionstatic final intThe authority (third) sectionstatic final intThe prerequisite (second) section of a dynamic update messagestatic final intThe question (first) sectionstatic final intThe update (third) section of a dynamic update messagestatic final intThe zone (first) section of a dynamic update message -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheck(int section) Checks that a numeric section value is valid.static StringlongString(int i) Converts a numeric Section into a full description Stringstatic Stringstring(int i) Converts a numeric Section into an abbreviation Stringstatic StringupdString(int i) Converts a numeric Section into a full description String for an update Message.static intConverts a String representation of a Section into its numeric value
-
Field Details
-
QUESTION
public static final int QUESTIONThe question (first) section- See Also:
-
ANSWER
public static final int ANSWERThe answer (second) section- See Also:
-
AUTHORITY
public static final int AUTHORITYThe authority (third) section- See Also:
-
ADDITIONAL
public static final int ADDITIONALThe additional (fourth) section- See Also:
-
ZONE
public static final int ZONEThe zone (first) section of a dynamic update message- See Also:
-
PREREQ
public static final int PREREQThe prerequisite (second) section of a dynamic update message- See Also:
-
UPDATE
public static final int UPDATEThe update (third) section of a dynamic update message- See Also:
-
-
Method Details
-
string
Converts a numeric Section into an abbreviation String -
longString
Converts a numeric Section into a full description String -
updString
Converts a numeric Section into a full description String for an update Message. -
value
Converts a String representation of a Section into its numeric value -
check
public static void check(int section) Checks that a numeric section value is valid.- Since:
- 3.6
-