⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cnamerecord.java

📁 linux下建立JAVA虚拟机的源码KAFFE
💻 JAVA
字号:
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)package org.xbill.DNS;/** * CNAME Record  - maps an alias to its real name * * @author Brian Wellington */public class CNAMERecord extends SingleCompressedNameBase {CNAMERecord() {}RecordgetObject() {	return new CNAMERecord();}/** * Creates a new CNAMERecord with the given data * @param alias The name to which the CNAME alias points */publicCNAMERecord(Name name, int dclass, long ttl, Name alias) {	super(name, Type.CNAME, dclass, ttl, alias, "alias");}/** * Gets the target of the CNAME Record */public NamegetTarget() {	return getSingleName();}/** Gets the alias specified by the CNAME Record */public NamegetAlias() {	return getSingleName();}}

⌨️ 快捷键说明

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