CursorWrapper


public class CursorWrapper
extends Object implements Cursor

java.lang.Object
   ↳ android.database.CursorWrapper


Wrapper class for Cursor that delegates all calls to the actual cursor object. The primary use for this class is to extend a cursor while overriding only a subset of its methods.

Summary

Inherited constants

Public constructors

CursorWrapper(Cursor cursor)

Creates a cursor wrapper.

Public methods

void close()

Closes the Cursor, releasing all of its resources and making it completely invalid.

void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer)

Retrieves the requested column text and stores it in the buffer provided.

void deactivate()

Deactivates the Cursor, making all calls on it fail until requery() is called.

byte[] getBlob(int columnIndex)

Returns the value of the requested column as a byte array.

int