Code example for Uri

Methods: match

0
        return mUriMatcher;
    } 
 
    @Override 
    public String getType(Uri uri) {
        final int match = getUriMatcher().match(uri);
        String result = getCustomType(uri, match);
        if (result != null)
            return result;
 
        switch(match) {
			case VACUUM:
				return null; 
{UriMatchTypeCases} 
            default: 
                throw new UnsupportedOperationException("Unknown uri: " + uri);
        } 
    } 
 
    @Override