public class ARecord extends Record
| Constructor and Description |
|---|
ARecord(Name name,
int dclass,
long ttl,
InetAddress address)
Creates an A Record from the given data
|
| Modifier and Type | Method and Description |
|---|---|
InetAddress |
getAddress()
Returns the Internet address
|
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, toString, toWire, toWireCanonical, unknownToString, withNamepublic ARecord(Name name, int dclass, long ttl, InetAddress address)
address - The address that the name refers topublic InetAddress getAddress()