android.database
Class CursorWrapper
java.lang.Object
android.database.CursorWrapper
- All Implemented Interfaces:
- Cursor
public class CursorWrapper
- extends Object
- implements Cursor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CursorWrapper
public CursorWrapper(Cursor cursor)
getWrappedCursor
public Cursor getWrappedCursor()
close
public void close()
- Specified by:
close
in interface Cursor
isClosed
public boolean isClosed()
- Specified by:
isClosed
in interface Cursor
getCount
public int getCount()
- Specified by:
getCount
in interface Cursor
deactivate
public void deactivate()
- Specified by:
deactivate
in interface Cursor
moveToFirst
public boolean moveToFirst()
- Specified by:
moveToFirst
in interface Cursor
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interface Cursor
getColumnIndex
public int getColumnIndex(String columnName)
- Specified by:
getColumnIndex
in interface Cursor
getColumnIndexOrThrow
public int getColumnIndexOrThrow(String columnName)
throws IllegalArgumentException
- Specified by:
getColumnIndexOrThrow
in interface Cursor
- Throws:
IllegalArgumentException
getColumnName
public String getColumnName(int columnIndex)
- Specified by:
getColumnName
in interface Cursor
getColumnNames
public String[] getColumnNames()
- Specified by:
getColumnNames
in interface Cursor
getDouble
public double getDouble(int columnIndex)
- Specified by:
getDouble
in interface Cursor
getExtras
public Bundle getExtras()
- Specified by:
getExtras
in interface Cursor
getFloat
public float getFloat(int columnIndex)
- Specified by:
getFloat
in interface Cursor
getInt
public int getInt(int columnIndex)
- Specified by:
getInt
in interface Cursor
getLong
public long getLong(int columnIndex)
- Specified by:
getLong
in interface Cursor
getShort
public short getShort(int columnIndex)
- Specified by:
getShort
in interface Cursor
getString
public String getString(int columnIndex)
- Specified by:
getString
in interface Cursor
copyStringToBuffer
public void copyStringToBuffer(int columnIndex,
CharArrayBuffer buffer)
- Specified by:
copyStringToBuffer
in interface Cursor
getBlob
public byte[] getBlob(int columnIndex)
- Specified by:
getBlob
in interface Cursor
getWantsAllOnMoveCalls
public boolean getWantsAllOnMoveCalls()
- Specified by:
getWantsAllOnMoveCalls
in interface Cursor
isAfterLast
public boolean isAfterLast()
- Specified by:
isAfterLast
in interface Cursor
isBeforeFirst
public boolean isBeforeFirst()
- Specified by:
isBeforeFirst
in interface Cursor
isFirst
public boolean isFirst()
- Specified by:
isFirst
in interface Cursor
isLast
public boolean isLast()
- Specified by:
isLast
in interface Cursor
getType
public int getType(int columnIndex)
- Specified by:
getType
in interface Cursor
isNull
public boolean isNull(int columnIndex)
- Specified by:
isNull
in interface Cursor
moveToLast
public boolean moveToLast()
- Specified by:
moveToLast
in interface Cursor
move
public boolean move(int offset)
- Specified by:
move
in interface Cursor
moveToPosition
public boolean moveToPosition(int position)
- Specified by:
moveToPosition
in interface Cursor
moveToNext
public boolean moveToNext()
- Specified by:
moveToNext
in interface Cursor
getPosition
public int getPosition()
- Specified by:
getPosition
in interface Cursor
moveToPrevious
public boolean moveToPrevious()
- Specified by:
moveToPrevious
in interface Cursor
registerContentObserver
public void registerContentObserver(ContentObserver observer)
- Specified by:
registerContentObserver
in interface Cursor
registerDataSetObserver
public void registerDataSetObserver(DataSetObserver observer)
- Specified by:
registerDataSetObserver
in interface Cursor
requery
public boolean requery()
- Specified by:
requery
in interface Cursor
respond
public Bundle respond(Bundle extras)
- Specified by:
respond
in interface Cursor
setNotificationUri
public void setNotificationUri(ContentResolver cr,
Uri uri)
- Specified by:
setNotificationUri
in interface Cursor
unregisterContentObserver
public void unregisterContentObserver(ContentObserver observer)
- Specified by:
unregisterContentObserver
in interface Cursor
unregisterDataSetObserver
public void unregisterDataSetObserver(DataSetObserver observer)
- Specified by:
unregisterDataSetObserver
in interface Cursor
Copyright © 2008-2012. All Rights Reserved.