Package org.minidns.record
Class RRWithTarget
- java.lang.Object
 - 
- org.minidns.record.Data
 - 
- org.minidns.record.RRWithTarget
 
 
 
- 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedRRWithTarget(DnsName target) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnsNamegetTarget()voidserialize(DataOutputStream dos)The internal method used to serialize Data subclasses.StringtoString()- 
Methods inherited from class org.minidns.record.Data
equals, getType, hashCode, length, toByteArray, toOutputStream, toOutputStream 
 - 
 
 - 
 
- 
- 
Field Detail
- 
target
public final DnsName target
 
- 
name
@Deprecated public final DnsName name
Deprecated.targetinstead.The target of this resource record. 
 - 
 
- 
Constructor Detail
- 
RRWithTarget
protected RRWithTarget(DnsName target)
 
 - 
 
- 
Method Detail
- 
serialize
public void serialize(DataOutputStream dos) throws IOException
Description copied from class:DataThe internal method used to serialize Data subclasses.- Specified by:
 serializein classData- Parameters:
 dos- the output stream to serialize to.- Throws:
 IOException- if an I/O error occurs.
 
- 
getTarget
public final DnsName getTarget()
 
 - 
 
 -