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 "*".
public static final int NO_MATCH = -1 sourcepublic UriMatcher(int code) sourcepublic void addURI(String authority, String path, int code) sourcepublic int match(Uri uri) sourceMade 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.