1// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)
2
3package org.xbill.DNS;
4
5import java.util.*;
6
7/**
8 * Sender Policy Framework (RFC 4408, experimental)
9 *
10 * @author Brian Wellington
11 */
12
13public class SPFRecord extends TXTBase {
14
15private static final long serialVersionUID = -2100754352801658722L;
16
17SPFRecord() {}
18
19Record
20getObject() {
21	return new SPFRecord();
22}
23
24/**
25 * Creates a SPF Record from the given data
26 * @param strings The text strings
27 * @throws IllegalArgumentException One of the strings has invalid escapes
28 */
29public
30SPFRecord(Name name, int dclass, long ttl, List strings) {
31	super(name, Type.SPF, dclass, ttl, strings);
32}
33
34/**
35 * Creates a SPF Record from the given data
36 * @param string One text string
37 * @throws IllegalArgumentException The string has invalid escapes
38 */
39public
40SPFRecord(Name name, int dclass, long ttl, String string) {
41	super(name, Type.SPF, dclass, ttl, string);
42}
43
44}
45