Package org.minidns.record
Class A
- java.lang.Object
-
- org.minidns.record.Data
-
- org.minidns.record.InternetAddressRR<Inet4Address>
-
- org.minidns.record.A
-
public class A extends InternetAddressRR<Inet4Address>
A record payload (ip pointer).
-
-
Field Summary
-
Fields inherited from class org.minidns.record.InternetAddressRR
ip
-
-
Constructor Summary
Constructors Constructor Description A(byte[] ip)
A(int q1, int q2, int q3, int q4)
A(CharSequence ipv4CharSequence)
A(Inet4Address inet4Address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Record.TYPE
getType()
The payload type.static A
parse(DataInputStream dis)
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
-
-
-
-
Constructor Detail
-
A
public A(Inet4Address inet4Address)
-
A
public A(int q1, int q2, int q3, int q4)
-
A
public A(byte[] ip)
-
A
public A(CharSequence ipv4CharSequence)
-
-
Method Detail
-
getType
public Record.TYPE getType()
Description copied from class:Data
The payload type.
-
parse
public static A parse(DataInputStream dis) throws IOException
- Throws:
IOException
-
-