org.xbill.DNS.SPFRecord Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ddns-dnsjava Show documentation
Show all versions of ddns-dnsjava Show documentation
DiscoveryDNS fork of DNSJava project
// Copyright (c) 1999-2004 Brian Wellington ([email protected])
package org.xbill.DNS;
import java.util.*;
/**
* Sender Policy Framework (RFC 4408, experimental)
*
* @author Brian Wellington
*/
public class SPFRecord extends TXTBase {
private static final long serialVersionUID = -2100754352801658722L;
SPFRecord() {}
Record
getObject() {
return new SPFRecord();
}
/**
* Creates a SPF Record from the given data
* @param strings The text strings
* @throws IllegalArgumentException One of the strings has invalid escapes
*/
public
SPFRecord(Name name, int dclass, long ttl, List strings) {
super(name, Type.SPF, dclass, ttl, strings);
}
/**
* Creates a SPF Record from the given data
* @param string One text string
* @throws IllegalArgumentException The string has invalid escapes
*/
public
SPFRecord(Name name, int dclass, long ttl, String string) {
super(name, Type.SPF, dclass, ttl, string);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy