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

Method isMedia

app/src/main/java/com/github/catvod/utils/Util.java:33–35  ·  view source on GitHub ↗
(String text)

Source from the content-addressed store, hash-verified

31 }
32
33 public static boolean isMedia(String text) {
34 return MEDIA.contains(getExt(text).toLowerCase());
35 }
36
37 public static String getExt(String name) {
38 return name.contains(".") ? name.substring(name.lastIndexOf(".") + 1).toLowerCase() : name.toLowerCase();

Callers 5

getListMethod · 0.95
categoryContentMethod · 0.95
createMethod · 0.95
detailContentMethod · 0.95
detailContentMethod · 0.45

Calls 1

getExtMethod · 0.95

Tested by

no test coverage detected