*** empty log message ***
[mir.git] / source / mir / media / MediaHandler.java
index 51b91b2..d969005 100755 (executable)
@@ -76,7 +76,7 @@ import java.io.InputStream;
  * ) and just override the things that need to be specific. see MediaHandlerAudio
  *
  * @author <mh@nadir.org>, the Mir-coders group
- * @version $Id: MediaHandler.java,v 1.1.2.8 2005/12/24 11:43:36 zapata Exp $
+ * @version $Id: MediaHandler.java,v 1.1.2.9 2006/01/28 18:33:15 zapata Exp $
  */
 
 public interface MediaHandler {
@@ -96,16 +96,12 @@ public interface MediaHandler {
   public void produce(Entity aMedia, Entity aMediaType ) throws MediaExc, MediaFailure;
 
   /**
-   * Get's the media data from database and returns it as an InputStream
-   * Not very useful for most media types as they are stored in a file,
-   * but very usefull for ones stored in the DB as it is necessary to get
-   * it first before making a file out of it (in Producer*).
+   * Returns the associated media as an input stream
    */
   public InputStream getMedia (Entity aMedia, Entity aMediaType) throws MediaExc, MediaFailure;
 
   /**
-   * Pretty much like get() above. But get's the specific Icon
-   * representation. useful for media stored in the DB.
+   * Returns a thumbnail of the associated media as an input stream 
    */
   public InputStream getThumbnail(Entity aMedia) throws MediaExc, MediaFailure;