public static int
value(String s) {
	return classes.getValue(s);
}
Converts a String representation of a DClass into its numeric value
@return The class code, or -1 on error.
src/main/java/core/org/xbill/DNS/DClass.java