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

Method init

app/src/main/java/com/github/catvod/bean/webdav/Drive.java:80–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78 }
79
80 private void init() {
81 webdav = new OkHttpSardine();
82 webdav.setCredentials(getUser(), getPass());
83 setPath(Uri.parse(getServer()).getPath());
84 }
85
86 public Vod vod(DavResource item, String vodPic) {
87 return new Vod(getName() + item.getPath(), item.getName(), vodPic, Util.getSize(item.getContentLength()), item.isDirectory());

Callers 1

getWebdavMethod · 0.95

Calls 6

getUserMethod · 0.95
getPassMethod · 0.95
setPathMethod · 0.95
getServerMethod · 0.95
getPathMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected