public class WellKnownServices extends DnsRecord
Constructor and Description |
---|
WellKnownServices() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getAddress()
Gets
byte[] representing 32 bit ip address. |
byte[] |
getData()
Gets data describing this service.
|
java.net.InetAddress |
getInetAddress()
Gets InetAddress for this service.
|
int |
getProtocol()
Gets protocol for this service.
|
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 int getProtocol()
public byte[] getData()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved