mbrecord.java

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

JAVA
41
字号
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)package org.xbill.DNS;/** * Mailbox Record  - specifies a host containing a mailbox. * * @author Brian Wellington */public class MBRecord extends SingleNameBase {MBRecord() {}RecordgetObject() {	return new MBRecord();}/**  * Creates a new MB Record with the given data * @param mailbox The host containing the mailbox for the domain. */publicMBRecord(Name name, int dclass, long ttl, Name mailbox) {	super(name, Type.MB, dclass, ttl, mailbox, "mailbox");}/** Gets the mailbox for the domain */public NamegetMailbox() {	return getSingleName();}public NamegetAdditionalName() {	return getSingleName();}}

⌨️ 快捷键说明

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