public class Address extends DnsRecord
Constructor and Description |
---|
Address() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getAddress()
Gets
byte[] representing 32 bit ip address. |
java.net.InetAddress |
getInetAddress()
Gets InetAddress for this Address.
|
java.lang.String |
toString()
Gets String representation of this record.
|
getRecordClass, getRecordName, getRecordTTL, getRecordType, init, isValid
public byte[] getAddress()
byte[]
representing 32 bit ip address.public java.net.InetAddress getInetAddress() throws java.net.UnknownHostException
java.net.UnknownHostException
- the IP address of a host could not be determinedpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved