public String 
toString() {
	StringBuffer sb = new StringBuffer();

	sb.append("{");
	sb.append(EDNSOption.Code.string(code));
	sb.append(": ");
	sb.append(optionToString());
	sb.append("}");

	return sb.toString();
}
Creates an option with the given option code and data.
src/main/java/core/org/xbill/DNS/EDNSOption.java