ptrrecord.java
来自「DNS Java 是java实现的DNS」· Java 代码 · 共 37 行
JAVA
37 行
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)package org.xbill.DNS;/** * Pointer Record - maps a domain name representing an Internet Address to * a hostname. * * @author Brian Wellington */public class PTRRecord extends SingleCompressedNameBase {PTRRecord() {}RecordgetObject() { return new PTRRecord();}/** * Creates a new PTR Record with the given data * @param target The name of the machine with this address */publicPTRRecord(Name name, int dclass, long ttl, Name target) { super(name, Type.PTR, dclass, ttl, target, "target");}/** Gets the target of the PTR Record */public NamegetTarget() { return getSingleName();}}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?