android.support.v4.database
Class DatabaseUtilsCompat

java.lang.Object
  extended by android.support.v4.database.DatabaseUtilsCompat

public class DatabaseUtilsCompat
extends Object

Helper for accessing features in DatabaseUtils introduced after API level 4 in a backwards compatible fashion.


Method Summary
static String[] appendSelectionArgs(String[] originalValues, String[] newValues)
          Appends one set of selection args to another.
static String concatenateWhere(String a, String b)
          Concatenates two SQL WHERE clauses, handling empty or null values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

concatenateWhere

public static String concatenateWhere(String a,
                                      String b)
Concatenates two SQL WHERE clauses, handling empty or null values.


appendSelectionArgs

public static String[] appendSelectionArgs(String[] originalValues,
                                           String[] newValues)
Appends one set of selection args to another. This is useful when adding a selection argument to a user provided set.



Copyright © 2013 Marek Kedzierski. All Rights Reserved.