better error handling
[meviz.git] / src / main / java / eu / svjatoslav / meviz / htmlindexer / Layout.java
index 5110b3e..8df469e 100755 (executable)
@@ -1,7 +1,7 @@
 /*
  * Meviz - Various tools collection to work with multimedia.
  * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
- * 
+ *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of version 2 of the GNU General Public License
  * as published by the Free Software Foundation.
@@ -13,11 +13,12 @@ import java.io.UnsupportedEncodingException;
 import java.util.List;
 
 import eu.svjatoslav.meviz.htmlindexer.metadata.fileTypes.AbstractFile;
+import eu.svjatoslav.meviz.htmlindexer.metadata.fileTypes.Picture;
 
 /**
  * In order to have possibility of several different layouts per directory.
  * Universal interface is defined.
- * 
+ *
  * Layout implementation is responsible for actual HTML generation.
  */
 
@@ -36,11 +37,11 @@ public interface Layout {
        /**
         * Enlist image file.
         */
-       public void enlistImage(AbstractFile picture);
+       public void enlistImage(Picture picture);
 
        /**
         * Enlist video in OGV format.
-        * 
+        *
         * @throws UnsupportedEncodingException
         */
        public void enlistOgv(AbstractFile file)