
mServer.crawler.sender.dw.DwVideoDTO 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.dw;
import java.util.HashMap;
import java.util.Map;
import mServer.crawler.sender.newsearch.Qualities;
public class DwVideoDTO {
private final Map videoUrls;
public DwVideoDTO() {
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 "";
}
return url;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy