MCPcopy Create free account
hub / github.com/apache/solr / hasScheme

Method hasScheme

solr/solrj/src/java/org/apache/solr/common/util/URLUtil.java:44–47  ·  view source on GitHub ↗
(String url)

Source from the content-addressed store, hash-verified

42 }
43
44 public static boolean hasScheme(String url) {
45 Matcher matcher = URL_PREFIX.matcher(url);
46 return matcher.matches();
47 }
48
49 public static String getScheme(String url) {
50 Matcher matcher = URL_PREFIX.matcher(url);

Callers 4

normalizeHostNameMethod · 0.95
runImplMethod · 0.95
buildUrlMethod · 0.95
testMethod · 0.95

Calls 1

matchesMethod · 0.65

Tested by 1

testMethod · 0.76