Android CharArrayBuffer Read copyStringToBuffer(String columnName, CharArrayBuffer buffer)

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

Description

copy String To Buffer

Declaration

public void copyStringToBuffer(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  www .  j  av a  2 s.com
        cursor.copyStringToBuffer(cursor.getColumnIndex(columnName), buffer);
    }
    public void copyStringToBuffer(String columnName, CharArrayBuffer buffer) {
        copyStringToBuffer(cursor, columnName, buffer);
    }
}

Related

  1. isNull(Cursor cursor, String columnName)
  2. isNull(String columnName)