Package org.minidns.dnslabel
Class ReservedLdhLabel
- java.lang.Object
-
- org.minidns.util.SafeCharSequence
-
- org.minidns.dnslabel.DnsLabel
-
- org.minidns.dnslabel.LdhLabel
-
- org.minidns.dnslabel.ReservedLdhLabel
-
- All Implemented Interfaces:
java.lang.CharSequence
,java.lang.Comparable<DnsLabel>
- Direct Known Subclasses:
XnLabel
public class ReservedLdhLabel extends LdhLabel
A reserved LDH label (R-LDH label), which have the property that they contain "--" in the third and fourth characters.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.minidns.dnslabel.DnsLabel
DnsLabel.LabelToLongException
-
-
Field Summary
-
Fields inherited from class org.minidns.dnslabel.DnsLabel
label, MAX_LABEL_LENGTH_IN_OCTETS, VALIDATE, WILDCARD_LABEL
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ReservedLdhLabel(java.lang.String label)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isReservedLdhLabel(java.lang.String label)
-
Methods inherited from class org.minidns.dnslabel.LdhLabel
fromInternal, isLdhLabel
-
Methods inherited from class org.minidns.dnslabel.DnsLabel
asLowercaseVariant, compareTo, consistsOnlyOfLettersDigitsAndHypen, consistsOnlyOfLettersDigitsHypenAndUnderscore, equals, from, from, getInternationalizedRepresentation, getInternationalizedRepresentationInternal, getLabelType, getRawLabel, hashCode, isIdnAcePrefixed, toSafeRepesentation, toString, writeToBoas
-
Methods inherited from class org.minidns.util.SafeCharSequence
charAt, length, subSequence, toSafeString
-
-
-
-
Constructor Detail
-
ReservedLdhLabel
protected ReservedLdhLabel(java.lang.String label)
-
-
Method Detail
-
isReservedLdhLabel
public static boolean isReservedLdhLabel(java.lang.String label)
-
-