package com.example.android.sunshine.app.data;

import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.UriMatcher;
import android.database.Cursor;
import android.net.Uri;
import android.support.annotation.Nullable;

public class WeatherProvider extends ContentProvider {

    static final int WEATHER = 100;
    static final int WEATHER_WITH_LOCATION = 101;
    static final int WEATHER_WITH_LOCATION_AND_DATE = 102;
    static final int LOCATION = 300;

    static UriMatcher buildUriMatcher() {
        return null;
    }

    @Override
    public boolean onCreate() {
        return false;
    }

    @Nullable
    @Override
    public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) {
        return null;
    }

    @Nullable
    @Override
    public String getType(Uri uri) {
        return null;
    }

    @Nullable
    @Override
    public Uri insert(Uri uri, ContentValues values) {
        return null;
    }

    @Override
    public int delete(Uri uri, String selection, String[] selectionArgs) {
        return 0;
    }

    @Override
    public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
        return 0;
    }
}

@@ -540,35 +540,601 @@
 ) %7B%0A        
-return null
+final UriMatcher matcher = new UriMatcher(UriMatcher.NO_MATCH);%0A        final String authority = WeatherContract.CONTENT_AUTHORITY;%0A        final String path_weather = WeatherContract.PATH_WEATHER;%0A        final String path_location = WeatherContract.PATH_LOCATION;%0A%0A        matcher.addURI(authority, path_weather, WEATHER);%0A        matcher.addURI(authority, path_location, LOCATION);%0A        matcher.addURI(authority, path_weather + %22/*%22, WEATHER_WITH_LOCATION);%0A        matcher.addURI(authority, path_weather + %22/*/#%22, WEATHER_WITH_LOCATION_AND_DATE);%0A%0A        return matcher
 ;%0A    %7D%0A%0A   

Add UriMatcher