MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / checkName

Method checkName

src/main/java/core/org/xbill/DNS/Record.java:718–723  ·  view source on GitHub ↗
(String field, Name name)

Source from the content-addressed store, hash-verified

716
717/* Checks that a name is absolute */
718static Name
719checkName(String field, Name name) {
720 if (!name.isAbsolute())
721 throw new RelativeNameException(name);
722 return name;
723}
724
725static byte []
726checkByteArrayLength(String field, byte [] array, int maxLength) {

Callers 15

IPSECKEYRecordMethod · 0.80
TKEYRecordMethod · 0.80
NXTRecordMethod · 0.80
U16NameBaseMethod · 0.80
TSIGRecordMethod · 0.80
NSECRecordMethod · 0.80
PXRecordMethod · 0.80
MINFORecordMethod · 0.80
RPRecordMethod · 0.80
SingleNameBaseMethod · 0.80
NAPTRRecordMethod · 0.80
SIGBaseMethod · 0.80

Calls 1

isAbsoluteMethod · 0.80

Tested by

no test coverage detected