Package org.minidns.record
Class A
- java.lang.Object
-
- org.minidns.record.Data
-
- org.minidns.record.InternetAddressRR<java.net.Inet4Address>
-
- org.minidns.record.A
-
public class A extends InternetAddressRR<java.net.Inet4Address>
A record payload (ip pointer).
-
-
Field Summary
-
Fields inherited from class org.minidns.record.InternetAddressRR
ip
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Record.TYPE
getType()
The payload type.static A
parse(java.io.DataInputStream dis)
java.lang.String
toString()
-
Methods inherited from class org.minidns.record.InternetAddressRR
from, getInetAddress, getIp, serialize
-
Methods inherited from class org.minidns.record.Data
equals, hashCode, length, toByteArray, toOutputStream, toOutputStream
-
-
-
-
Method Detail
-
getType
public Record.TYPE getType()
Description copied from class:Data
The payload type.
-
parse
public static A parse(java.io.DataInputStream dis) throws java.io.IOException
- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-