Package org.minidns.dnslabel
Class LdhLabel
- java.lang.Object
-
- org.minidns.dnslabel.DnsLabel
-
- org.minidns.dnslabel.LdhLabel
-
- All Implemented Interfaces:
java.lang.CharSequence
,java.lang.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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LdhLabel(java.lang.String label)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static LdhLabel
fromInternal(java.lang.String label)
static boolean
isLdhLabel(java.lang.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
-
-
-
-
Constructor Detail
-
LdhLabel
protected LdhLabel(java.lang.String label)
-
-
Method Detail
-
isLdhLabel
public static boolean isLdhLabel(java.lang.String label)
-
fromInternal
protected static LdhLabel fromInternal(java.lang.String label)
-
-