UriMatcher

Class of android.content · UriMatcher.java · Android's reference

public class UriMatcher

Matches content URIs to codes: a tree of the authority and the path segments. In a pattern, "#" takes a segment of digits and "*" any segment. An exact segment wins over "#", and "#" wins over "*".

Fields

public static final int NO_MATCH = -1 source

Constructors

public UriMatcher(int code) source

Methods

public void addURI(String authority, String path, int code) source
public int match(Uri uri) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.