From 606ccc06357cd384ea415be7a2f0a35779ff5525 Mon Sep 17 00:00:00 2001 From: mh Date: Wed, 27 Mar 2002 13:40:14 +0000 Subject: [PATCH] added getDescr(). and ditched getListView() as it's redundant with getBigIcon(). list view openposting, etc.. list templates are now more flexible. sorry about the previous empty log messages, my bad. consider this the log. --- source/mir/media/MirMedia.java | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/source/mir/media/MirMedia.java b/source/mir/media/MirMedia.java index 646cd0ff..e9535d2e 100755 --- a/source/mir/media/MirMedia.java +++ b/source/mir/media/MirMedia.java @@ -119,22 +119,6 @@ public interface MirMedia{ throws MirMediaException; /** - * gets the summary representation for the media - * in the form of a URL (String). Usually the URL points - * to some sort of an icon that previews what kind of - * media an article will contain. - * It should use the helper functions in the StringUtil class to - * build URL's safely, eliminating any *illegal* user input. - * @param ent, an Entity holding the media MetaData - * @param mediaTypeEnt, an Entity holding the media_table entry - * @return String, the url. - * @see mir.entity.Entity - * @see mir.misc.StringUtil - */ - public abstract String getListView (Entity ent, Entity mediaTypeEnt) - throws MirMediaException; - - /** * Returns the absolute filesystem path to where the media * content should be stored. This path is usually defined * in the configuration wich is accessible through the MirConfig @@ -200,23 +184,30 @@ public interface MirMedia{ public abstract String getIconAlt (); /** - * your all smart enough to figure it out. + * your can all figure it out. * @return boolean. */ public abstract boolean isVideo (); /** - * your all smart enough to figure it out. + * you can all figure it out. * @return boolean. */ public abstract boolean isAudio (); /** - * your all smart enough to figure it out. + * you can all figure it out. * @return boolean. */ public abstract boolean isImage (); + /** + * returns a brief text dscription of what this + * media type is. + * @return String + */ + public abstract String getDescr (); + } -- 2.11.0