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


Fields inherited from class org.xbill.DNS.Record
dclass, name, ttl, type, wireLength
 
Constructor Summary
HINFORecord(Name _name, short _dclass, int _ttl, String _cpu, String _os)
          Creates an HINFO Record from the given data
 
Method Summary
 String getCPU()
          Returns the host's CPU
 String getOS()
          Returns the host's OS
 String toString()
          Converts to a string
 
Methods inherited from class org.xbill.DNS.Record
equals, fromString, fromWire, getDClass, getName, getRRsetType, getTTL, getType, getWireLength, hashCode, newRecord, newRecord, newRecord, toWire, toWireCanonical, withName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 CPU
os - A string describing the host's OS
Method Detail

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