Package org.minidns.dnslabel
Class ReservedLdhLabel
- java.lang.Object
-
- org.minidns.dnslabel.DnsLabel
-
- org.minidns.dnslabel.LdhLabel
-
- org.minidns.dnslabel.ReservedLdhLabel
-
- All Implemented Interfaces:
CharSequence
,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(String label)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isReservedLdhLabel(String label)
-
Methods inherited from class org.minidns.dnslabel.LdhLabel
fromInternal, isLdhLabel
-
Methods inherited from class org.minidns.dnslabel.DnsLabel
asLowercaseVariant, charAt, compareTo, equals, from, from, getInternationalizedRepresentation, getInternationalizedRepresentationInternal, getLabelType, hashCode, isIdnAcePrefixed, length, subSequence, toString, writeToBoas
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.CharSequence
chars, codePoints
-
-
-
-
Constructor Detail
-
ReservedLdhLabel
protected ReservedLdhLabel(String label)
-
-
Method Detail
-
isReservedLdhLabel
public static boolean isReservedLdhLabel(String label)
-
-