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
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 ();
+
}