public final class Section
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ADDITIONAL
The additional (fourth) section
|
static int |
ANSWER
The answer (second) section
|
static int |
AUTHORITY
The authority (third) section
|
private static java.lang.String[] |
longSections |
static int |
PREREQ
The prerequisite (second) section of a dynamic update message
|
static int |
QUESTION
The question (first) section
|
private static Mnemonic |
sections |
static int |
UPDATE
The update (third) section of a dynamic update message
|
private static java.lang.String[] |
updateSections |
static int |
ZONE
The zone (first) section of a dynamic update message
|
Modifier | Constructor and Description |
---|---|
private |
Section() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
longString(int i)
Converts a numeric Section into a full description String
|
static java.lang.String |
string(int i)
Converts a numeric Section into an abbreviation String
|
static java.lang.String |
updString(int i)
Converts a numeric Section into a full description String for an update Message.
|
static int |
value(java.lang.String s)
Converts a String representation of a Section into its numeric value
|
public static final int QUESTION
public static final int ANSWER
public static final int AUTHORITY
public static final int ADDITIONAL
public static final int ZONE
public static final int PREREQ
public static final int UPDATE
private static final Mnemonic sections
private static final java.lang.String[] longSections
private static final java.lang.String[] updateSections
public static java.lang.String string(int i)
public static java.lang.String longString(int i)
public static java.lang.String updString(int i)
public static int value(java.lang.String s)