code: public static String convertObjectToString(Object objData)
      {
          if (objData == null)
              return null;
          try {
              return Utility.convertObjectToString(objData, objData.getClass(), null);
          } catch (Exception ex) {
              return null;
          }
      }
docs: Do a smart conversion of this object to an unfomatted string (ie., toString).
  @param obj In
  @return String out.