summaryrefslogtreecommitdiff
path: root/src/de/podfetcher/feed/FeedMedia.java
blob: e5945785d2cd570bed3cf6234ab30fc37b4c9f4f (plain)
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
package de.podfetcher.feed;

public class FeedMedia extends FeedFile{
	public long length;
	public long position;
	public long size;	// File size in Byte
	public String mime_type;
	
	public FeedItem item; // TODO remove

	public FeedMedia(FeedItem i, String download_url, long size, String mime_type) {
		this.item = i;
		this.download_url = download_url;
		this.size = size;
		this.mime_type = mime_type;
	}

	public FeedMedia(long id, long length, long position, long size, String mime_type,
			String file_url, String download_url) {
		super();
		this.id = id;
		this.length = length;
		this.position = position;
		this.size = size;
		this.mime_type = mime_type;
		this.file_url = file_url;
		this.download_url = download_url;
	}
	
	
	
	
}