org.xbill.DNS
public class HINFORecord extends Record
Constructor and Description |
---|
HINFORecord(Name name,
int dclass,
long ttl,
String cpu,
String os)
Creates an HINFO Record from the given data
|
Modifier and Type | Method and Description |
---|---|
String |
getCPU()
Returns the host's CPU
|
String |
getOS()
Returns the host's OS
|
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 HINFORecord(Name name, int dclass, long ttl, String cpu, String os)
cpu
- A string describing the host's CPUos
- A string describing the host's OSIllegalArgumentException
- One of the strings has invalid escapes