|
JmDNS 3.4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DNSLabel> javax.jmdns.impl.constants.DNSLabel
public enum DNSLabel
DNS label.
Enum Constant Summary | |
---|---|
Compressed
Compressed label [RFC 1035] |
|
Extended
Extended label [RFC 2671] |
|
Standard
Standard label [RFC 1035] |
|
Unknown
This is unallocated. |
Method Summary | |
---|---|
String |
externalName()
Return the string representation of this type |
int |
indexValue()
Return the numeric value of this type |
static DNSLabel |
labelForByte(int index)
|
static int |
labelValue(int index)
|
String |
toString()
|
static DNSLabel |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DNSLabel[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DNSLabel Unknown
public static final DNSLabel Standard
public static final DNSLabel Compressed
public static final DNSLabel Extended
Method Detail |
---|
public static DNSLabel[] values()
for (DNSLabel c : DNSLabel.values()) System.out.println(c);
public static DNSLabel valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String externalName()
public int indexValue()
public static DNSLabel labelForByte(int index)
index
-
public static int labelValue(int index)
index
-
public String toString()
toString
in class Enum<DNSLabel>
|
Last updated 2011-08-25 12:40 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |