summaryrefslogtreecommitdiff
path: root/src/de/podfetcher/feed/FeedMedia.java
diff options
context:
space:
mode:
authorDaniel Oeh <daniel@daniel-pc.(none)>2011-12-23 19:22:06 +0100
committerDaniel Oeh <daniel@daniel-pc.(none)>2011-12-23 19:22:06 +0100
commitc9283f09dced6f156e13675ef4c13ebeb20cb9e5 (patch)
tree833961a4fd03b94086223dba9f658cb2841cbe77 /src/de/podfetcher/feed/FeedMedia.java
downloadAntennaPod-c9283f09dced6f156e13675ef4c13ebeb20cb9e5.zip
Initial Commit
Diffstat (limited to 'src/de/podfetcher/feed/FeedMedia.java')
-rw-r--r--src/de/podfetcher/feed/FeedMedia.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/de/podfetcher/feed/FeedMedia.java b/src/de/podfetcher/feed/FeedMedia.java
new file mode 100644
index 000000000..e5945785d
--- /dev/null
+++ b/src/de/podfetcher/feed/FeedMedia.java
@@ -0,0 +1,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;
+ }
+
+
+
+
+}