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

Method value

src/main/java/core/org/xbill/DNS/DClass.java:87–90  ·  view source on GitHub ↗

Converts a String representation of a DClass into its numeric value @return The class code, or -1 on error.

(String s)

Source from the content-addressed store, hash-verified

85 * @return The class code, or -1 on error.
86 */
87public static int
88value(String s) {
89 return classes.getValue(s);
90}
91
92}

Callers 1

parseTTLClassAndTypeMethod · 0.95

Calls 1

getValueMethod · 0.45

Tested by

no test coverage detected