Code example for UriMatcher

Methods: match

0
        } 
    } 
 
    @Override 
    public String getTable(Uri uri) {
        final int match = URI_MATCHER.match(uri);
        switch (match) {
            case DELETED_PASSWORDS:
                return TABLE_DELETED_PASSWORDS;
 
            case PASSWORDS:
                return TABLE_PASSWORDS;
 
            default: 
                throw new UnsupportedOperationException("Unknown table " + uri);
        } 
    } 
 
    @Override 
    public String getSortOrder(Uri uri, String aRequested) {
Connect your IDE to all the code out there  Get Codota for Java