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

Method refresh

src/main/java/core/org/xbill/DNS/Options.java:40–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38Options() {}
39
40public static void
41refresh() {
42 String s = System.getProperty("dnsjava.options");
43 if (s != null) {
44 StringTokenizer st = new StringTokenizer(s, ",");
45 while (st.hasMoreTokens()) {
46 String token = st.nextToken();
47 int index = token.indexOf('=');
48 if (index == -1)
49 set(token);
50 else {
51 String option = token.substring(0, index);
52 String value = token.substring(index + 1);
53 set(option, value);
54 }
55 }
56 }
57}
58
59/** Clears all defined options */
60public static void

Callers 1

OptionsClass · 0.95

Calls 2

setMethod · 0.95
indexOfMethod · 0.80

Tested by

no test coverage detected