MCPcopy Create free account
hub / github.com/FongMi/TV / init

Method init

catvod/src/main/java/com/github/catvod/bean/Proxy.java:40–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 }
39
40 public void init() {
41 wildcard = getHosts().stream().anyMatch(host -> host.contains("*"));
42 uris = getUrls().stream().map(Uri::parse).filter(this::isValid).toList();
43 proxies = uris.stream().map(this::create).filter(Objects::nonNull).toList();
44 }
45
46 public String getName() {
47 return TextUtils.isEmpty(name) ? "" : name;

Callers 1

getSSLContextMethod · 0.45

Calls 5

getHostsMethod · 0.95
getUrlsMethod · 0.95
streamMethod · 0.80
filterMethod · 0.80
containsMethod · 0.45

Tested by

no test coverage detected