Packages that use DnsLabel
Package
Description
DNS label representation, validation and punycode conversion, from the MiniDNS 1.0.0 core subset (see
org.minidns). DNS name parsing, validation and comparison, from the MiniDNS 1.0.0 core subset (see
org.minidns). DNS resource record types (A, AAAA, NS, SOA, MX, TXT, SRV and the DNSSEC records) with wire-format parsing, from the MiniDNS 1.0.0 core subset (see
org.minidns).Uses of DnsLabel in org.minidns.dnslabel
Subclasses of DnsLabel in org.minidns.dnslabelModifier and TypeClassDescriptionfinal classRepresents an ASCII label in DNS.final classRepresents a fake A-label in DNS labels.
A fake A-label is a special type of XN-label used for handling certain edge cases in internationalized domain names.classA LDH (Letters, Digits, Hyphen) label, which is the classical label form.final classA DNS label with a leading or trailing hyphen ('-').classA DNS label which contains more than just letters, digits and a hyphen.final classA Non-Reserved LDH label (NR-LDH label), which do not have "--" in the third and fourth position.final classA Non-LDH label which does not begin with an underscore ('_'), hyphen ('-') or ends with an hyphen.classA reserved LDH label (R-LDH label), which have the property that they contain "--" in the third and fourth characters.final classA DNS label which begins with an underscore ('_').classA label that begins with "xn--" and follows the LDH rule.Classes in org.minidns.dnslabel that implement interfaces with type arguments of type DnsLabelModifier and TypeClassDescriptionclassA DNS label is an individual component of a DNS name.Fields in org.minidns.dnslabel declared as DnsLabelModifier and TypeFieldDescriptionprivate DnsLabelDnsLabel.lowercasedVariantCached lower-case form of the label.static final DnsLabelDnsLabel.WILDCARD_LABELThe wildcard label.Methods in org.minidns.dnslabel that return DnsLabelModifier and TypeMethodDescriptionfinal DnsLabelDnsLabel.asLowercaseVariant()Get the lowercase variant of this label.static DnsLabelCreate a DnsLabel from a string.static DnsLabel[]Create DnsLabel array from string array.protected static DnsLabelNonLdhLabel.fromInternal(String label) Chooses the concrete label class matching a non-LDH label's flavour.Methods in org.minidns.dnslabel with parameters of type DnsLabelUses of DnsLabel in org.minidns.dnsname
Fields in org.minidns.dnsname declared as DnsLabelModifier and TypeFieldDescriptionprivate DnsLabel[]DnsName.labelsThe labels in reverse order.private DnsLabel[]DnsName.rawLabelsCached labels of the name.Methods in org.minidns.dnsname that return DnsLabelModifier and TypeMethodDescriptionDnsName.getHostpartLabel()Fetches the label at the far left of this name.DnsName.getLabel(int labelNum) Fetches one label by its index in the reversed array.DnsLabel[]DnsName.getLabels()Get a copy of the labels of this DNS name.private static DnsLabel[]Splits an ACE name into its labels.DnsLabel[]DnsName.getRawLabels()Get a copy of the raw labels of this DNS name.Methods in org.minidns.dnsname with parameters of type DnsLabelModifier and TypeMethodDescriptionstatic DnsNamePlaces a two-label run under the given parent name.static DnsNamePlaces one label directly under the given parent name.private static StringDnsName.labelsToString(DnsLabel[] labels, int stringLength) Joins the labels into one name.private static byte[]Encodes the labels in the wire format.Constructors in org.minidns.dnsname with parameters of type DnsLabelUses of DnsLabel in org.minidns.record
Fields in org.minidns.record declared as DnsLabelModifier and TypeFieldDescriptionprivate DnsLabelNSEC3.nextHashedDnsLabelCacheCache of the next hashed owner name, as a label.Methods in org.minidns.record that return DnsLabelModifier and TypeMethodDescriptionNSEC3.getNextHashedDnsLabel()Returns the next hashed owner name as a DNS label, decoding the cached Base32 form.