Lines Matching defs:field

577      * Reads a String out of a field in a Cursor and writes it to a Map.
580 * @param field The TEXT field to read
581 * @param values The {@link ContentValues} to put the value into, with the field as the key
583 public static void cursorStringToContentValues(Cursor cursor, String field,
585 cursorStringToContentValues(cursor, field, values, field);
589 * Reads a String out of a field in a Cursor and writes it to an InsertHelper.
592 * @param field The TEXT field to read
596 public static void cursorStringToInsertHelper(Cursor cursor, String field,
598 inserter.bind(index, cursor.getString(cursor.getColumnIndexOrThrow(field)));
602 * Reads a String out of a field in a Cursor and writes it to a Map.
605 * @param field The TEXT field to read
606 * @param values The {@link ContentValues} to put the value into, with the field as the key
609 public static void cursorStringToContentValues(Cursor cursor, String field,
611 values.put(key, cursor.getString(cursor.getColumnIndexOrThrow(field)));
615 * Reads an Integer out of a field in a Cursor and writes it to a Map.
618 * @param field The INTEGER field to read
619 * @param values The {@link ContentValues} to put the value into, with the field as the key
621 public static void cursorIntToContentValues(Cursor cursor, String field, ContentValues values) {
622 cursorIntToContentValues(cursor, field, values, field);
626 * Reads a Integer out of a field in a Cursor and writes it to a Map.
629 * @param field The INTEGER field to read
630 * @param values The {@link ContentValues} to put the value into, with the field as the key
633 public static void cursorIntToContentValues(Cursor cursor, String field, ContentValues values,
635 int colIndex = cursor.getColumnIndex(field);
644 * Reads a Long out of a field in a Cursor and writes it to a Map.
647 * @param field The INTEGER field to read
648 * @param values The {@link ContentValues} to put the value into, with the field as the key
650 public static void cursorLongToContentValues(Cursor cursor, String field, ContentValues values)
652 cursorLongToContentValues(cursor, field, values, field);
656 * Reads a Long out of a field in a Cursor and writes it to a Map.
659 * @param field The INTEGER field to read
663 public static void cursorLongToContentValues(Cursor cursor, String field, ContentValues values,
665 int colIndex = cursor.getColumnIndex(field);
675 * Reads a Double out of a field in a Cursor and writes it to a Map.
678 * @param field The REAL field to read
681 public static void cursorDoubleToCursorValues(Cursor cursor, String field, ContentValues values)
683 cursorDoubleToContentValues(cursor, field, values, field);
687 * Reads a Double out of a field in a Cursor and writes it to a Map.
690 * @param field The REAL field to read
694 public static void cursorDoubleToContentValues(Cursor cursor, String field,
696 int colIndex = cursor.getColumnIndex(field);
990 * This field was accidentally exposed in earlier versions of the platform
1337 // terminate statements. It is possible that a text field contains ;\n. We will have to fix