
org.xbill.DNS.TXTRecord Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of browsermob-proxy Show documentation
Show all versions of browsermob-proxy Show documentation
A programmatic HTTP/S designed for performance and functional testing
// Copyright (c) 1999-2004 Brian Wellington ([email protected])
package org.xbill.DNS;
import java.util.List;
/**
* Text - stores text strings
*
* @author Brian Wellington
*/
public class TXTRecord extends TXTBase {
private static final long serialVersionUID = -5780785764284221342L;
TXTRecord() {}
Record
getObject() {
return new TXTRecord();
}
/**
* Creates a TXT Record from the given data
* @param strings The text strings
* @throws IllegalArgumentException One of the strings has invalid escapes
*/
public
TXTRecord(Name name, int dclass, long ttl, List strings) {
super(name, Type.TXT, dclass, ttl, strings);
}
/**
* Creates a TXT Record from the given data
* @param string One text string
* @throws IllegalArgumentException The string has invalid escapes
*/
public
TXTRecord(Name name, int dclass, long ttl, String string) {
super(name, Type.TXT, dclass, ttl, string);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy