public class CursorWrapper extends Object implements Cursor
FIELD_TYPE_BLOB, FIELD_TYPE_FLOAT, FIELD_TYPE_INTEGER, FIELD_TYPE_NULL, FIELD_TYPE_STRING| Constructor and Description |
|---|
CursorWrapper(Cursor cursor) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
copyStringToBuffer(int columnIndex,
CharArrayBuffer buffer) |
void |
deactivate() |
byte[] |
getBlob(int columnIndex) |
int |
getColumnCount() |
int |
getColumnIndex(String columnName) |
int |
getColumnIndexOrThrow(String columnName) |
String |
getColumnName(int columnIndex) |
String[] |
getColumnNames() |
int |
getCount() |
double |
getDouble(int columnIndex) |
Bundle |
getExtras() |
float |
getFloat(int columnIndex) |
int |
getInt(int columnIndex) |
long |
getLong(int columnIndex) |
int |
getPosition() |
short |
getShort(int columnIndex) |
String |
getString(int columnIndex) |
int |
getType(int columnIndex) |
boolean |
getWantsAllOnMoveCalls() |
Cursor |
getWrappedCursor() |
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
boolean |
isClosed() |
boolean |
isFirst() |
boolean |
isLast() |
boolean |
isNull(int columnIndex) |
boolean |
move(int offset) |
boolean |
moveToFirst() |
boolean |
moveToLast() |
boolean |
moveToNext() |
boolean |
moveToPosition(int position) |
boolean |
moveToPrevious() |
void |
registerContentObserver(ContentObserver observer) |
void |
registerDataSetObserver(DataSetObserver observer) |
boolean |
requery() |
Bundle |
respond(Bundle extras) |
void |
setNotificationUri(ContentResolver cr,
Uri uri) |
void |
unregisterContentObserver(ContentObserver observer) |
void |
unregisterDataSetObserver(DataSetObserver observer) |
public CursorWrapper(Cursor cursor)
public Cursor getWrappedCursor()
public void close()
public void deactivate()
deactivate in interface Cursorpublic boolean moveToFirst()
moveToFirst in interface Cursorpublic int getColumnCount()
getColumnCount in interface Cursorpublic int getColumnIndex(String columnName)
getColumnIndex in interface Cursorpublic int getColumnIndexOrThrow(String columnName) throws IllegalArgumentException
getColumnIndexOrThrow in interface CursorIllegalArgumentExceptionpublic String getColumnName(int columnIndex)
getColumnName in interface Cursorpublic String[] getColumnNames()
getColumnNames in interface Cursorpublic void copyStringToBuffer(int columnIndex,
CharArrayBuffer buffer)
copyStringToBuffer in interface Cursorpublic boolean getWantsAllOnMoveCalls()
getWantsAllOnMoveCalls in interface Cursorpublic boolean isAfterLast()
isAfterLast in interface Cursorpublic boolean isBeforeFirst()
isBeforeFirst in interface Cursorpublic boolean moveToLast()
moveToLast in interface Cursorpublic boolean moveToPosition(int position)
moveToPosition in interface Cursorpublic boolean moveToNext()
moveToNext in interface Cursorpublic int getPosition()
getPosition in interface Cursorpublic boolean moveToPrevious()
moveToPrevious in interface Cursorpublic void registerContentObserver(ContentObserver observer)
registerContentObserver in interface Cursorpublic void registerDataSetObserver(DataSetObserver observer)
registerDataSetObserver in interface Cursorpublic void setNotificationUri(ContentResolver cr, Uri uri)
setNotificationUri in interface Cursorpublic void unregisterContentObserver(ContentObserver observer)
unregisterContentObserver in interface Cursorpublic void unregisterDataSetObserver(DataSetObserver observer)
unregisterDataSetObserver in interface CursorCopyright © 2008-2013. All Rights Reserved.