判断是否指定的 Uri Scheme @param uriScheme 如 ContentResolver.SCHEME_CONTENT @param uri Uri @return true yes, false no
(
final String uriScheme,
final Uri uri
)
| 583 | * @return {@code true} yes, {@code false} no |
| 584 | */ |
| 585 | public static boolean isUriScheme( |
| 586 | final String uriScheme, |
| 587 | final Uri uri |
| 588 | ) { |
| 589 | return isUriScheme(uriScheme, getUriScheme(uri)); |
| 590 | } |
| 591 | |
| 592 | /** |
| 593 | * 判断是否指定的 Uri Scheme ( 忽略大小写 ) |
no test coverage detected