Package org.minidns.dnslabel
Class LdhLabel
- java.lang.Object
-
- org.minidns.dnslabel.DnsLabel
-
- org.minidns.dnslabel.LdhLabel
-
- All Implemented Interfaces:
CharSequence
,Comparable<DnsLabel>
- Direct Known Subclasses:
NonReservedLdhLabel
,ReservedLdhLabel
public abstract class LdhLabel extends DnsLabel
A LDH (Letters, Digits, Hyphen) label, which is the classical label form.- See Also:
- RFC 5890 ยง 2.3.1. LDH Label
-
-
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
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static LdhLabel
fromInternal(String label)
static boolean
isLdhLabel(String label)
-
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
-
-
-
-
Method Detail
-
isLdhLabel
public static boolean isLdhLabel(String label)
-
fromInternal
protected static LdhLabel fromInternal(String label)
-
-