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

Method replace

src/main/java/core/org/xbill/DNS/Update.java:250–254  ·  view source on GitHub ↗

Parses a record from the string, and indicates that the record should be inserted into the zone replacing any other records with the same name and type. @throws IOException The record could not be parsed.

(Name name, int type, long ttl, String record)

Source from the content-addressed store, hash-verified

248 * @throws IOException The record could not be parsed.
249 */
250public void
251replace(Name name, int type, long ttl, String record) throws IOException {
252 delete(name, type);
253 add(name, type, ttl, record);
254}
255
256/**
257 * Parses a record from the tokenizer, and indicates that the record

Callers

nothing calls this directly

Calls 7

deleteMethod · 0.95
addMethod · 0.95
rrsMethod · 0.80
hasNextMethod · 0.80
nextMethod · 0.80
getNameMethod · 0.65
getTypeMethod · 0.65

Tested by

no test coverage detected