MCPcopy Create free account
hub / github.com/M66B/FairEmail / isHyperLink

Method isHyperLink

app/src/main/java/eu/faircode/email/UriHelper.java:599–603  ·  view source on GitHub ↗
(Uri uri)

Source from the content-addressed store, hash-verified

597 }
598
599 static boolean isHyperLink(Uri uri) {
600 return (!uri.isOpaque() &&
601 ("http".equalsIgnoreCase(uri.getScheme()) ||
602 "https".equalsIgnoreCase(uri.getScheme())));
603 }
604
605 static boolean isHyperLink(String uri) {
606 try {

Callers 14

onCreateDialogMethod · 0.95
afterTextChangedMethod · 0.95
afterTextChangedMethod · 0.95
onCreateDialogMethod · 0.95
onExecuteMethod · 0.95
sanitizeMethod · 0.95
sanitizeMethod · 0.95
tailMethod · 0.95
setLinkMethod · 0.95
viewMethod · 0.95
onClickMethod · 0.95
onOpenLinkMethod · 0.95

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected