Repository navigation
Expand file tree
/
Copy pathPodcast.java
More file actions
45 lines (39 loc) · 1.52 KB
/
Copy pathPodcast.java
File metadata and controls
45 lines (39 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*******************************************************************************
* Copyright (c) 2013 Yannic Remmet, Maximilian Berger.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v2.1
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* Contributors:
* Yannic Remmet - initial API and implementation
* Maximilian Berger - initial API and implementation
******************************************************************************/
package data;
import java.io.Serializable;
import java.net.URL;
import java.util.Locale.Category;
import java.util.Set;
import javax.swing.ImageIcon;
import com.google.common.collect.ImmutableList;
public interface Podcast extends Comparable<Podcast>, Serializable {
public String getTitle();
public String getSubtitle();
public String getAuthor();
public String copyright();
public String getSummary();
public URL getFeed();
public URL getWebImage();
public ImageIcon getImage();
public Set<String> getKeywords();
public Category categorys();
public ImmutableList<Episode> getEpisodes();
public Episode getEpisode(String title);
public boolean equals(String name);
public int getNumberOfUnplayedEpisodes();
public int getNumberOfFavEpisodersNum();
public ImmutableList<Episode> getUnplayedEpisodes();
public ImmutableList<Episode> getFavoriteEpisodes();
public Podcast addEpisode(Episode p);
public URL getLink();
}