com.vodafone360.people.utils
Class CursorUtils
java.lang.Object
com.vodafone360.people.utils.CursorUtils
public class CursorUtils
- extends java.lang.Object
Method Summary |
static void |
closeCursor(Cursor cursor)
|
static int |
getInt(Cursor cursor,
java.lang.String columnName)
|
static int |
getInt(Cursor cursor,
java.lang.String columnName,
int missingValue)
|
static java.lang.Integer |
getInteger(Cursor cursor,
java.lang.String columnName)
|
static long |
getLong(Cursor cursor,
java.lang.String columnName)
|
static long |
getLong(Cursor cursor,
java.lang.String columnName,
long missingValue)
|
static java.lang.String |
getString(Cursor cursor,
java.lang.String columnName)
|
static boolean |
isNull(Cursor cursor,
java.lang.String columnName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CursorUtils
public CursorUtils()
closeCursor
public static void closeCursor(Cursor cursor)
getString
public static java.lang.String getString(Cursor cursor,
java.lang.String columnName)
getInt
public static int getInt(Cursor cursor,
java.lang.String columnName)
getLong
public static long getLong(Cursor cursor,
java.lang.String columnName)
getInteger
public static java.lang.Integer getInteger(Cursor cursor,
java.lang.String columnName)
getInt
public static int getInt(Cursor cursor,
java.lang.String columnName,
int missingValue)
getLong
public static long getLong(Cursor cursor,
java.lang.String columnName,
long missingValue)
isNull
public static boolean isNull(Cursor cursor,
java.lang.String columnName)
JavaDoc