public static String dumpCursorToString ( Cursor cursor ) { StringBuilder sb = new StringBuilder ( ) ; dumpCursor ( cursor , sb ) ; return sb . toString ( ) ; }
Prints the contents of a Cursor to a String . The position is restored after printing .