code: public static String pad(final Object obj, final int count)
     {
        return pad(new StringBuffer(), String.valueOf(obj), count);
     }
docs: Return a string padded with the given string value of an object for the given count.
  
  @param obj Object to convert to a string.
  @param count Pad count.
  @return Padded string.