org.xbill.DNS
public class ARecord extends Record
Constructor and Description |
---|
ARecord(Name name,
int dclass,
long ttl,
java.net.InetAddress address)
Creates an A Record from the given data
|
Modifier and Type | Method and Description |
---|---|
java.net.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, withName
public ARecord(Name name, int dclass, long ttl, java.net.InetAddress address)
address
- The address that the name refers to