MCPcopy Create free account
hub / github.com/FongMi/CatVodSpider / getExt

Method getExt

app/src/main/java/com/github/catvod/utils/Util.java:37–39  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

35 }
36
37 public static String getExt(String name) {
38 return name.contains(".") ? name.substring(name.lastIndexOf(".") + 1).toLowerCase() : name.toLowerCase();
39 }
40
41 public static String getSize(double size) {
42 if (size <= 0) return "";

Callers 7

isSubMethod · 0.95
isMediaMethod · 0.95
setHttpSubMethod · 0.95
setFileSubMethod · 0.95
getSubsMethod · 0.95
findSubsMethod · 0.95
getExtMethod · 0.95

Calls 1

substringMethod · 0.80

Tested by

no test coverage detected