blob: 23594d46568da5168f8364cf77c93335e7e8c81a (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
package de.podfetcher.feed;
public class FeedMedia extends FeedFile{
private long length;
private long position;
private long size; // File size in Byte
private String mime_type;
private 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;
}
public long getLength() {
return length;
}
public void setLength(long length) {
this.length = length;
}
public long getPosition() {
return position;
}
public void setPosition(long position) {
this.position = position;
}
public long getSize() {
return size;
}
public void setSize(long size) {
this.size = size;
}
public String getMime_type() {
return mime_type;
}
public void setMime_type(String mime_type) {
this.mime_type = mime_type;
}
public FeedItem getItem() {
return item;
}
public void setItem(FeedItem item) {
this.item = item;
}
}
|