Package org.minidns.record
Class CNAME
- java.lang.Object
-
- org.minidns.record.Data
-
- org.minidns.record.RRWithTarget
-
- org.minidns.record.CNAME
-
public class CNAME extends RRWithTarget
CNAME payload (pointer to another domain / address).
-
-
Field Summary
-
Fields inherited from class org.minidns.record.RRWithTarget
name, target
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Record.TYPE
getType()
The payload type.static CNAME
parse(DataInputStream dis, byte[] data)
-
Methods inherited from class org.minidns.record.RRWithTarget
getTarget, serialize, toString
-
Methods inherited from class org.minidns.record.Data
equals, hashCode, length, toByteArray, toOutputStream, toOutputStream
-
-
-
-
Method Detail
-
parse
public static CNAME parse(DataInputStream dis, byte[] data) throws IOException
- Throws:
IOException
-
getType
public Record.TYPE getType()
Description copied from class:Data
The payload type.
-
-