txtrecord.java

来自「DNS Java 是java实现的DNS」· Java 代码 · 共 44 行

JAVA
44
字号
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)package org.xbill.DNS;import java.io.*;import java.util.*;/** * Text - stores text strings * * @author Brian Wellington */public class TXTRecord extends TXTBase {TXTRecord() {}RecordgetObject() {	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 */publicTXTRecord(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 */publicTXTRecord(Name name, int dclass, long ttl, String string) {	super(name, Type.TXT, dclass, ttl, string);}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?