Class LeadingOrTrailingHyphenLabel

java.lang.Object
org.minidns.dnslabel.DnsLabel
org.minidns.dnslabel.NonLdhLabel
org.minidns.dnslabel.LeadingOrTrailingHyphenLabel
All Implemented Interfaces:
CharSequence, Comparable<DnsLabel>

public final class LeadingOrTrailingHyphenLabel extends NonLdhLabel
A DNS label with a leading or trailing hyphen ('-').
  • Constructor Details

    • LeadingOrTrailingHyphenLabel

      protected LeadingOrTrailingHyphenLabel(String label)
  • Method Details

    • isLeadingOrTrailingHypenLabelInternal

      protected static boolean isLeadingOrTrailingHypenLabelInternal(String label)