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

📄 singlenamebase.java

📁 linux下建立JAVA虚拟机的源码KAFFE
💻 JAVA
字号:
// Copyright (c) 2004 Brian Wellington (bwelling@xbill.org)package org.xbill.DNS;import java.io.*;/** * Implements common functionality for the many record types whose format * is a single name. * * @author Brian Wellington */abstract class SingleNameBase extends Record {protected Name singleName;protectedSingleNameBase() {}protectedSingleNameBase(Name name, int type, int dclass, long ttl) {	super(name, type, dclass, ttl);}protectedSingleNameBase(Name name, int type, int dclass, long ttl, Name singleName,	    String description){	super(name, type, dclass, ttl);	this.singleName = checkName(description, singleName);}voidrrFromWire(DNSInput in) throws IOException {	singleName = new Name(in);}voidrdataFromString(Tokenizer st, Name origin) throws IOException {	singleName = st.getName(origin);}StringrrToString() {	return singleName.toString();}protected NamegetSingleName() {	return singleName;}voidrrToWire(DNSOutput out, Compression c, boolean canonical) {	singleName.toWire(out, null, canonical);}}

⌨️ 快捷键说明

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