mgrecord.java

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

JAVA
37
字号
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)package org.xbill.DNS;/** * Mail Group Record  - specifies a mailbox which is a member of a mail group. * * @author Brian Wellington */public class MGRecord extends SingleNameBase {MGRecord() {}RecordgetObject() {	return new MGRecord();}/**  * Creates a new MG Record with the given data * @param mailbox The mailbox that is a member of the group specified by the * domain. */publicMGRecord(Name name, int dclass, long ttl, Name mailbox) {	super(name, Type.MG, dclass, ttl, mailbox, "mailbox");}/** Gets the mailbox in the mail group specified by the domain */public NamegetMailbox() {	return getSingleName();}}

⌨️ 快捷键说明

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