/** 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(); } } }
public static void dumpCursor(Cursor cur) { dumpCursor(cur, 18, "records"); }