public class SPFRecord extends Record
| Constructor and Description |
|---|
SPFRecord(Name name,
int dclass,
long ttl,
List strings)
Creates a SPF Record from the given data
|
SPFRecord(Name name,
int dclass,
long ttl,
String string)
Creates a SPF Record from the given data
|
| Modifier and Type | Method and Description |
|---|---|
List |
getStrings()
Returns the text strings
|
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, withNameprotected List strings
public SPFRecord(Name name, int dclass, long ttl, List strings)
strings - The text stringsIllegalArgumentException - One of the strings has invalid escapespublic SPFRecord(Name name, int dclass, long ttl, String string)
string - One text stringIllegalArgumentException - The string has invalid escapes