/** Dump all the records in raw format. */
 public void dumpDB() {
   Cursor cur = null;
   try {
     cur = queryHelper.safeQuery(".dumpDB", null, null, null, null);
     RepoUtils.dumpCursor(cur);
   } catch (NullCursorException e) {
   } finally {
     if (cur != null) {
       cur.close();
     }
   }
 }
示例#2
0
 public static void dumpCursor(Cursor cur) {
   dumpCursor(cur, 18, "records");
 }