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

Method ext

app/src/main/java/com/github/catvod/bean/Sub.java:47–57  ·  view source on GitHub ↗
(String ext)

Source from the content-addressed store, hash-verified

45 }
46
47 public Sub ext(String ext) {
48 switch (ext) {
49 case "vtt":
50 return format("text/vtt");
51 case "ass":
52 case "ssa":
53 return format("text/x-ssa");
54 default:
55 return format("application/x-subrip");
56 }
57 }
58}

Callers 5

detectSubMethod · 0.80
setFileSubMethod · 0.80
getSubsMethod · 0.80
getSubsMethod · 0.80
getSubMethod · 0.80

Calls 1

formatMethod · 0.95

Tested by

no test coverage detected