Class AbstractDnsRecord

    • Field Detail

      • name

        private final java.lang.String name
      • dnsClass

        private final short dnsClass
      • timeToLive

        private final long timeToLive
      • hashCode

        private int hashCode
    • Method Detail

      • IDNtoASCII

        private static java.lang.String IDNtoASCII​(java.lang.String name)
      • appendTrailingDot

        private static java.lang.String appendTrailingDot​(java.lang.String name)
      • name

        public java.lang.String name()
        Description copied from interface: DnsRecord
        Returns the name of this resource record.
        Specified by:
        name in interface DnsRecord
      • timeToLive

        public long timeToLive()
        Description copied from interface: DnsRecord
        Returns the time to live after reading for this resource record.
        Specified by:
        timeToLive in interface DnsRecord
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object