code: public static String dumpCurrentRowToString(Cursor cursor) {
          StringBuilder sb = new StringBuilder();
          dumpCurrentRow(cursor, sb);
          return sb.toString();
      }
docs: Dump the contents of a Cursor's current row to a String.
  
  @param cursor the cursor to print
  @return a String that contains the dumped cursor row