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

Method nodeToString

src/main/java/core/org/xbill/DNS/Zone.java:521–533  ·  view source on GitHub ↗
(StringBuffer sb, Object node)

Source from the content-addressed store, hash-verified

519}
520
521private void
522nodeToString(StringBuffer sb, Object node) {
523 RRset [] sets = allRRsets(node);
524 for (int i = 0; i < sets.length; i++) {
525 RRset rrset = sets[i];
526 Iterator it = rrset.rrs();
527 while (it.hasNext())
528 sb.append(it.next() + "\n");
529 it = rrset.sigs();
530 while (it.hasNext())
531 sb.append(it.next() + "\n");
532 }
533}
534
535/**
536 * Returns the contents of the Zone in master file format.

Callers 1

toMasterFileMethod · 0.95

Calls 6

allRRsetsMethod · 0.95
rrsMethod · 0.95
sigsMethod · 0.95
hasNextMethod · 0.80
nextMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected