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

Method rrToString

src/main/java/core/org/xbill/DNS/NXTRecord.java:73–84  ·  view source on GitHub ↗

Converts rdata to a String

()

Source from the content-addressed store, hash-verified

71
72/** Converts rdata to a String */
73String
74rrToString() {
75 StringBuffer sb = new StringBuffer();
76 sb.append(next);
77 int length = bitmap.length();
78 for (short i = 0; i < length; i++)
79 if (bitmap.get(i)) {
80 sb.append(" ");
81 sb.append(Type.string(i));
82 }
83 return sb.toString();
84}
85
86/** Returns the next name */
87public Name

Callers

nothing calls this directly

Calls 5

stringMethod · 0.95
lengthMethod · 0.80
appendMethod · 0.45
getMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected