
mServer.crawler.sender.wdr.WdrVideoDto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of MServer Show documentation
Show all versions of MServer Show documentation
The crawler for mediathekview/MediathekView
package mServer.crawler.sender.wdr;
import java.util.HashMap;
import java.util.Map;
import mServer.crawler.sender.newsearch.Qualities;
public class WdrVideoDto {
private final Map videoUrls;
private String subtitleUrl = "";
public WdrVideoDto()
{
videoUrls=new HashMap<>();
}
public void addVideo(Qualities aQualitie, String aUrl)
{
videoUrls.put(aQualitie,aUrl);
}
public Map getVideoUrls()
{
return videoUrls;
}
public String getUrl(Qualities aQualitie)
{
String url = videoUrls.get(aQualitie);
if(url != null) {
return url;
}
return "";
}
public void setSubtitleUrl(String aUrl) {
this.subtitleUrl = aUrl;
}
public String getSubtitleUrl() {
return subtitleUrl;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy