org.xbill.DNS
Class HINFORecord
java.lang.Object
|
+--org.xbill.DNS.Record
|
+--org.xbill.DNS.HINFORecord
- public class HINFORecord
- extends Record
Host Information - describes the CPU and OS of a host
|
Constructor Summary |
HINFORecord(Name _name,
short _dclass,
int _ttl,
String _cpu,
String _os)
Creates an HINFO Record from the given data |
| Methods inherited from class org.xbill.DNS.Record |
equals,
fromString,
fromWire,
getDClass,
getName,
getRRsetType,
getTTL,
getType,
getWireLength,
hashCode,
newRecord,
newRecord,
newRecord,
toWire,
toWireCanonical,
withName |
HINFORecord
public HINFORecord(Name _name,
short _dclass,
int _ttl,
String _cpu,
String _os)
- Creates an HINFO Record from the given data
- Parameters:
cpu - A string describing the host's CPUos - A string describing the host's OS
getCPU
public String getCPU()
- Returns the host's CPU
getOS
public String getOS()
- Returns the host's OS
toString
public String toString()
- Converts to a string
- Overrides:
- toString in class Record