public class PathMatcher extends Object
SystemCapability.Aafwk#ABILITY| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
NO_MATCH |
Indicates the result returned if the given path does not exist.
|
| 构造器 | 说明 |
|---|---|
PathMatcher() |
public static final int NO_MATCH
public boolean addPath(String path, int id)
path - Indicates the absolute path of the database or file.id - Indicates the ID of the database or file path.true if the operation is successful; returns false otherwise.