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

Method rrToString

src/main/java/core/org/xbill/DNS/TXTBase.java:80–91  ·  view source on GitHub ↗

converts to a String

()

Source from the content-addressed store, hash-verified

78
79/** converts to a String */
80String
81rrToString() {
82 StringBuffer sb = new StringBuffer();
83 Iterator it = strings.iterator();
84 while (it.hasNext()) {
85 byte [] array = (byte []) it.next();
86 sb.append(byteArrayToString(array, true));
87 if (it.hasNext())
88 sb.append(" ");
89 }
90 return sb.toString();
91}
92
93/**
94 * Returns the text strings

Callers

nothing calls this directly

Calls 6

hasNextMethod · 0.80
nextMethod · 0.80
byteArrayToStringMethod · 0.80
iteratorMethod · 0.45
appendMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected