Android Cursor Read copyStringToBuffer(Cursor cursor, String columnName, CharArrayBuffer buffer)

Here you can find the source of copyStringToBuffer(Cursor cursor, String columnName, CharArrayBuffer buffer)

Description

copy String To Buffer

Declaration

public static void copyStringToBuffer(Cursor cursor, String columnName,
            CharArrayBuffer buffer) 

Method Source Code

import android.database.CharArrayBuffer;
import android.database.Cursor;
import android.provider.BaseColumns;

public class Main{
    public static void copyStringToBuffer(Cursor cursor, String columnName,
            CharArrayBuffer buffer) {/*from   w  w w. j a  va2  s .c o m*/
        cursor.copyStringToBuffer(cursor.getColumnIndex(columnName), buffer);
    }
    public void copyStringToBuffer(String columnName, CharArrayBuffer buffer) {
        copyStringToBuffer(cursor, columnName, buffer);
    }
}

Related

  1. extractFilenameFromUri(Uri uri, Activity activity)
  2. getBlob(Cursor cursor, String columnName)
  3. getBlob(String columnName)
  4. getDouble(Cursor cursor, String columnName)