@@ -0,0 +1,1256 @@
+package com.classic.core.utils;%0A%0Aimport android.database.Cursor;%0A%0A/**%0A *%0A * @author %E7%BB%AD%E5%86%99%E7%BB%8F%E5%85%B8%0A * @date 2016/6/17%0A */%0Apublic final class CursorUtil %7B%0A    private CursorUtil()%7B %7D%0A%0A    public static final String getString(Cursor cursor, String columnName)%7B%0A        return cursor.getString(cursor.getColumnIndexOrThrow(columnName));%0A    %7D%0A%0A    public static final long getLong(Cursor cursor, String columnName)%7B%0A        return cursor.getLong(cursor.getColumnIndexOrThrow(columnName));%0A    %7D%0A%0A    public static final double getDouble(Cursor cursor, String columnName)%7B%0A        return cursor.getDouble(cursor.getColumnIndexOrThrow(columnName));%0A    %7D%0A%0A    public static final float getFloat(Cursor cursor, String columnName)%7B%0A        return cursor.getFloat(cursor.getColumnIndexOrThrow(columnName));%0A    %7D%0A%0A    public static final short getShort(Cursor cursor, String columnName)%7B%0A        return cursor.getShort(cursor.getColumnIndexOrThrow(columnName));%0A    %7D%0A%0A    public static final int getInt(Cursor cursor, String columnName)%7B%0A        return cursor.getInt(cursor.getColumnIndexOrThrow(columnName));%0A    %7D%0A%0A    public static final byte%5B%5D getBlob(Cursor cursor, String columnName)%7B%0A        return cursor.getBlob(cursor.getColumnIndexOrThrow(columnName));%0A    %7D%0A%0A%7D%0A

add utils