public class SPFRecord extends Record
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List |
strings |
| Constructor and Description |
|---|
SPFRecord(Name name,
int dclass,
long ttl,
java.util.List strings)
Creates a SPF Record from the given data
|
SPFRecord(Name name,
int dclass,
long ttl,
java.lang.String string)
Creates a SPF Record from the given data
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getStrings()
Returns the text strings
|
java.util.List |
getStringsAsByteArrays()
Returns the text strings
|
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, toString, toWire, toWireCanonical, unknownToString, withNamepublic SPFRecord(Name name, int dclass, long ttl, java.util.List strings)
strings - The text stringsjava.lang.IllegalArgumentException - One of the strings has invalid escapespublic SPFRecord(Name name, int dclass, long ttl, java.lang.String string)
string - One text stringjava.lang.IllegalArgumentException - The string has invalid escapespublic java.util.List getStrings()
public java.util.List getStringsAsByteArrays()