Package org.minidns.record
Class NS
- java.lang.Object
-
- org.minidns.record.Data
-
- org.minidns.record.RRWithTarget
-
- org.minidns.record.NS
-
public class NS extends RRWithTarget
Nameserver record.
-
-
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 NS
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
-
-
-
-
Constructor Detail
-
NS
public NS(DnsName name)
-
-
Method Detail
-
parse
public static NS parse(DataInputStream dis, byte[] data) throws IOException
- Throws:
IOException
-
getType
public Record.TYPE getType()
Description copied from class:Data
The payload type.
-
-