From c9283f09dced6f156e13675ef4c13ebeb20cb9e5 Mon Sep 17 00:00:00 2001 From: Daniel Oeh Date: Fri, 23 Dec 2011 19:22:06 +0100 Subject: Initial Commit --- src/de/podfetcher/feed/FeedMedia.java | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/de/podfetcher/feed/FeedMedia.java (limited to 'src/de/podfetcher/feed/FeedMedia.java') 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; + } + + + + +} -- cgit v1.2.3