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

Method isUri

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

判断是否 Uri @param uriString uri 路径 @return true yes, false no

(final String uriString)

Source from the content-addressed store, hash-verified

190 * @return {@code true} yes, {@code false} no
191 */
192 public static boolean isUri(final String uriString) {
193 Uri uri = getUriForString(uriString);
194 return StringUtils.isNotEmpty(getUriScheme(uri));
195 }
196
197 /**
198 * 判断是否 Uri

Callers 2

ofUriMethod · 0.95
isUriMethod · 0.95

Calls 3

getUriForStringMethod · 0.95
isNotEmptyMethod · 0.95
getUriSchemeMethod · 0.95

Tested by

no test coverage detected