MCPcopy Create free account
hub / github.com/afkT/DevUtils / isFileScheme

Method isFileScheme

lib/DevApp/src/main/java/dev/utils/app/UriUtils.java:548–550  ·  view source on GitHub ↗

判断 Uri Scheme 是否 ContentResolver.SCHEME_FILE @param uri Uri @return true yes, false no

(final Uri uri)

Source from the content-addressed store, hash-verified

546 * @return {@code true} yes, {@code false} no
547 */
548 public static boolean isFileScheme(final Uri uri) {
549 return isUriScheme(ContentResolver.SCHEME_FILE, uri);
550 }
551
552 /**
553 * 判断 Uri Scheme 是否 ContentResolver.SCHEME_FILE

Callers

nothing calls this directly

Calls 1

isUriSchemeMethod · 0.95

Tested by

no test coverage detected