code: public static String formatNameTypeValue(String name, Object value) {
          StringBuilder sb = new StringBuilder(name);
          sb.append('(');
          sb.append(getType(value));
          sb.append(')');
          sb.append('=');
          sb.append(formatValue(value));
  		
          return sb.toString();
      }
docs: /*
  Formats a name/object pair using the following template:
  
  name(value-type)=value
  
  where vale-type is a String representation of the object type of the
  value passed in, and value is a String representation of the value
  passed in.  Binary arrays are formatted in hex, all other types are
  formatted with toString().