Package org.minidns.record
Class PTR
- java.lang.Object
-
- org.minidns.record.Data
-
- org.minidns.record.RRWithTarget
-
- org.minidns.record.PTR
-
public class PTR extends RRWithTarget
A PTR record is handled like a CNAME.
-
-
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 PTR
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 PTR parse(DataInputStream dis, byte[] data) throws IOException
- Throws:
IOException
-
getType
public Record.TYPE getType()
Description copied from class:Data
The payload type.
-
-