
mServer.crawler.sender.arte.ArteVideoDTO 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.arte;
import java.util.HashMap;
import java.util.Map;
import mServer.crawler.sender.newsearch.Qualities;
public class ArteVideoDTO {
private final Map videoUrls;
private long durationInSeconds;
public ArteVideoDTO()
{
videoUrls=new HashMap<>();
durationInSeconds = 0;
}
public void addVideo(Qualities aQualitie, String aUrl)
{
videoUrls.put(aQualitie,aUrl);
}
public Map getVideoUrls()
{
return videoUrls;
}
public String getUrl(Qualities aQualitie)
{
return videoUrls.get(aQualitie);
}
public void setDurationInSeconds(long durationInSeconds) {
this.durationInSeconds = durationInSeconds;
}
public long getDurationInSeconds() {
return durationInSeconds;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy