Enum DNSRecordType

    • Enum Constant Detail

      • NS

        public static final DNSRecordType NS
        an authoritative name server
      • MD

        public static final DNSRecordType MD
        a mail destination (Obsolete - use MX)
      • MF

        public static final DNSRecordType MF
        a mail forwarder (Obsolete - use MX)
      • CNAME

        public static final DNSRecordType CNAME
        the canonical name for an alias
      • SOA

        public static final DNSRecordType SOA
        marks the start of a zone of authority
      • MB

        public static final DNSRecordType MB
        a mailbox domain name (EXPERIMENTAL)
      • MG

        public static final DNSRecordType MG
        a mail group member (EXPERIMENTAL)
      • MR

        public static final DNSRecordType MR
        a mail rename domain name (EXPERIMENTAL)
      • NULL

        public static final DNSRecordType NULL
        a null RR (EXPERIMENTAL)
      • WKS

        public static final DNSRecordType WKS
        a well known service description
      • PTR

        public static final DNSRecordType PTR
        a domain name pointer
      • HINFO

        public static final DNSRecordType HINFO
        host information
      • MINFO

        public static final DNSRecordType MINFO
        mailbox or mail list information
    • Method Detail

      • values

        public static DNSRecordType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DNSRecordType c : DNSRecordType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DNSRecordType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()