FileDocCategorySizeDatePackage
CursorWrapper.javaAPI DocAndroid 1.5 API6914Wed May 06 22:41:54 BST 2009android.database

CursorWrapper

public class CursorWrapper extends Object implements Cursor
Wrapper class for Cursor that delegates all calls to the actual cursor object

Fields Summary
private Cursor
mCursor
Constructors Summary
public CursorWrapper(Cursor cursor)

        mCursor = cursor;
    
Methods Summary
public voidabortUpdates()

hide
deprecated

        mCursor.abortUpdates();
    
public voidclose()

        mCursor.close(); 
    
public booleancommitUpdates()

hide
deprecated

        return mCursor.commitUpdates();
    
public booleancommitUpdates(java.util.Map values)

hide
deprecated

        return mCursor.commitUpdates(values);
    
public voidcopyStringToBuffer(int columnIndex, android.database.CharArrayBuffer buffer)

        mCursor.copyStringToBuffer(columnIndex, buffer);
    
public voiddeactivate()

        mCursor.deactivate();
    
public booleandeleteRow()

hide
deprecated

        return mCursor.deleteRow();
    
public byte[]getBlob(int columnIndex)

        return mCursor.getBlob(columnIndex);
    
public intgetColumnCount()

        return mCursor.getColumnCount();
    
public intgetColumnIndex(java.lang.String columnName)

        return mCursor.getColumnIndex(columnName);
    
public intgetColumnIndexOrThrow(java.lang.String columnName)

        return mCursor.getColumnIndexOrThrow(columnName);
    
public java.lang.StringgetColumnName(int columnIndex)

         return mCursor.getColumnName(columnIndex);
    
public java.lang.String[]getColumnNames()

        return mCursor.getColumnNames();
    
public intgetCount()

        return mCursor.getCount();
    
public doublegetDouble(int columnIndex)

        return mCursor.getDouble(columnIndex);
    
public android.os.BundlegetExtras()

        return mCursor.getExtras();
    
public floatgetFloat(int columnIndex)

        return mCursor.getFloat(columnIndex);
    
public intgetInt(int columnIndex)

        return mCursor.getInt(columnIndex);
    
public longgetLong(int columnIndex)

        return mCursor.getLong(columnIndex);
    
public intgetPosition()

        return mCursor.getPosition();
    
public shortgetShort(int columnIndex)

        return mCursor.getShort(columnIndex);
    
public java.lang.StringgetString(int columnIndex)

        return mCursor.getString(columnIndex);
    
public booleangetWantsAllOnMoveCalls()

        return mCursor.getWantsAllOnMoveCalls();
    
public booleanhasUpdates()

hide
deprecated

        return mCursor.hasUpdates();
    
public booleanisAfterLast()

        return mCursor.isAfterLast();
    
public booleanisBeforeFirst()

        return mCursor.isBeforeFirst();
    
public booleanisClosed()

        return mCursor.isClosed();
    
public booleanisFirst()

        return mCursor.isFirst();
    
public booleanisLast()

        return mCursor.isLast();
    
public booleanisNull(int columnIndex)

        return mCursor.isNull(columnIndex);
    
public booleanmove(int offset)

        return mCursor.move(offset);
    
public booleanmoveToFirst()

        return mCursor.moveToFirst();
    
public booleanmoveToLast()

        return mCursor.moveToLast();
    
public booleanmoveToNext()

        return mCursor.moveToNext();
    
public booleanmoveToPosition(int position)

        return mCursor.moveToPosition(position);
    
public booleanmoveToPrevious()

        return mCursor.moveToPrevious();
    
public voidregisterContentObserver(ContentObserver observer)

        mCursor.registerContentObserver(observer);   
    
public voidregisterDataSetObserver(DataSetObserver observer)

        mCursor.registerDataSetObserver(observer);   
    
public booleanrequery()

        return mCursor.requery();
    
public android.os.Bundlerespond(android.os.Bundle extras)

        return mCursor.respond(extras);
    
public voidsetNotificationUri(android.content.ContentResolver cr, android.net.Uri uri)

        mCursor.setNotificationUri(cr, uri);        
    
public booleansupportsUpdates()

hide
deprecated

        return mCursor.supportsUpdates();
    
public voidunregisterContentObserver(ContentObserver observer)

        mCursor.unregisterContentObserver(observer);        
    
public voidunregisterDataSetObserver(DataSetObserver observer)

        mCursor.unregisterDataSetObserver(observer);
    
public booleanupdateBlob(int columnIndex, byte[] value)

hide
deprecated

        return mCursor.updateBlob(columnIndex, value);
    
public booleanupdateDouble(int columnIndex, double value)

hide
deprecated

        return mCursor.updateDouble(columnIndex, value);
    
public booleanupdateFloat(int columnIndex, float value)

hide
deprecated

        return mCursor.updateFloat(columnIndex, value);
    
public booleanupdateInt(int columnIndex, int value)

hide
deprecated

        return mCursor.updateInt(columnIndex, value);
    
public booleanupdateLong(int columnIndex, long value)

hide
deprecated

        return mCursor.updateLong(columnIndex, value);
    
public booleanupdateShort(int columnIndex, short value)

hide
deprecated

        return mCursor.updateShort(columnIndex, value);
    
public booleanupdateString(int columnIndex, java.lang.String value)

hide
deprecated

        return mCursor.updateString(columnIndex, value);
    
public booleanupdateToNull(int columnIndex)

hide
deprecated

        return mCursor.updateToNull(columnIndex);