public static Class getOptionFormat(byte code) {
    	OptionFormat format = _DHO_FORMATS.get(code);
    	if (format == null) {
    		return null;
    	}
    	switch (format) {
		case INET:
			return InetAddress.class;
		case INETS:
			return InetAddress[].class;
		case INT:
			return int.class;
		case SHORT:
			return short.class;
		case SHORTS:
			return short[].class;
		case BYTE:
			return byte.class;
		case BYTES:
			return byte[].class;
		case STRING:
			return String.class;
		default:
			return null;
    	}
    }