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