API Diff Specification
To Version: Android SDK 0.9_r1
From Version: Android SDK m5-rc14
Generated 2008.08.14 15:44

Interface android.database.Cursor

Removed Methods
void abortUpdates() Reverts all updates made to the cursor since the last call to commitUpdates.
boolean commitUpdates() Atomically commits all updates to the backing store.
boolean commitUpdates(Map<Long, Map<String, Object>>) Atomically commits all updates to the backing store, as well as the updates included in values.
int count() Returns the numbers of rows in the cursor.
boolean deleteRow() Removes the row at the current cursor position from the underlying data store.
boolean first() Move the cursor to the first row.
boolean hasUpdates() Returns true if there are pending updates that have not yet been committed.
boolean last() Move the cursor to the last row.
boolean moveTo(int) Move the cursor to an absolute position.
boolean next() Move the cursor to the next row.
int position() Returns the current position of the cursor in the row set.
boolean prev() Move the cursor to the previous row.
boolean supportsUpdates() Returns true if the cursor supports updates.
boolean updateDouble(int, double) Updates the value for the given column in the row the cursor is currently pointing at.
boolean updateFloat(int, float) Updates the value for the given column in the row the cursor is currently pointing at.
boolean updateInt(int, int) Updates the value for the given column in the row the cursor is currently pointing at.
boolean updateLong(int, long) Updates the value for the given column in the row the cursor is currently pointing at.
boolean updateShort(int, short) Updates the value for the given column in the row the cursor is currently pointing at.
boolean updateString(int, String) Updates the value for the given column in the row the cursor is currently pointing at.
boolean updateToNull(int) Removes the value for the given column in the row the cursor is currently pointing at.
 

Added Methods
void copyStringToBuffer(int, CharArrayBuffer) Retrieves the requested column text and stores it in the buffer provided.
byte[] getBlob(int) Returns the value of the requested column as a byte array.
int getColumnCount() Return total number of columns
int getColumnIndexOrThrow(String) Returns the zero-based index for the given column name.
int getCount() Returns the numbers of rows in the cursor.
int getPosition() Returns the current position of the cursor in the row set.
boolean isClosed() return true if the cursor is closed
boolean moveToFirst() Move the cursor to the first row.
boolean moveToLast() Move the cursor to the last row.
boolean moveToNext() Move the cursor to the next row.
boolean moveToPosition(int) Move the cursor to an absolute position.
boolean moveToPrevious() Move the cursor to the previous row.
 

Changed Methods
int getColumnIndex(String) Now deprecated.
replaced by {@link #getColumnIndexOrThrow(String)}
 

©2008 Google - Code Home - Site Terms of Service - Privacy Policy
Generated by JDiff