FileDocCategorySizeDatePackage
ContentValuesBuilder.javaAPI DocAndroid 5.1 API2341Thu Mar 12 22:22:54 GMT 2015com.android.vcard.tests.testutils

ContentValuesBuilder

public class ContentValuesBuilder extends Object
ContentValues-like class which enables users to chain put() methods and restricts the other methods.

Fields Summary
private final android.content.ContentValues
mContentValues
Constructors Summary
public ContentValuesBuilder(android.content.ContentValues contentValues)

        mContentValues = contentValues;
    
Methods Summary
public com.android.vcard.tests.testutils.ContentValuesBuilderput(java.lang.String key, java.lang.String value)

        mContentValues.put(key, value);
        return this;
    
public com.android.vcard.tests.testutils.ContentValuesBuilderput(java.lang.String key, java.lang.Integer value)

        mContentValues.put(key, value);
        return this;
    
public com.android.vcard.tests.testutils.ContentValuesBuilderput(java.lang.String key, byte[] value)

        mContentValues.put(key, value);
        return this;
    
public com.android.vcard.tests.testutils.ContentValuesBuilderputNull(java.lang.String key)

        mContentValues.putNull(key);
        return this;