Package org.minidns.record
Class TXT
- java.lang.Object
-
- org.minidns.record.Data
-
- org.minidns.record.TXT
-
-
Constructor Summary
Constructors Constructor Description TXT(byte[] blob)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBlob()
java.util.List<java.lang.String>
getCharacterStrings()
java.util.List<byte[]>
getExtents()
java.lang.String
getText()
Record.TYPE
getType()
The payload type.static TXT
parse(java.io.DataInputStream dis, int length)
void
serialize(java.io.DataOutputStream dos)
The internal method used to serialize Data subclasses.java.lang.String
toString()
-
Methods inherited from class org.minidns.record.Data
equals, hashCode, length, toByteArray, toOutputStream, toOutputStream
-
-
-
-
Constructor Detail
-
TXT
public TXT(byte[] blob)
-
-
Method Detail
-
parse
public static TXT parse(java.io.DataInputStream dis, int length) throws java.io.IOException
- Throws:
java.io.IOException
-
getBlob
public byte[] getBlob()
-
getText
public java.lang.String getText()
-
getCharacterStrings
public java.util.List<java.lang.String> getCharacterStrings()
-
getExtents
public java.util.List<byte[]> getExtents()
-
serialize
public void serialize(java.io.DataOutputStream dos) throws java.io.IOException
Description copied from class:Data
The internal method used to serialize Data subclasses.
-
getType
public Record.TYPE getType()
Description copied from class:Data
The payload type.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-