Use FFMpeg instead of Avconv
[meviz.git] / src / main / java / eu / svjatoslav / meviz / htmlindexer / Layout.java
index c1e6d23..5083b39 100755 (executable)
@@ -1,19 +1,19 @@
 /*
  * Meviz - Various tools collection to work with multimedia.
- * Copyright (C) 2012 -- 2018, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ * Copyright (C) 2012 -- 2019, 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.
- */
+ * modify it under the terms of version 3 of the GNU Lesser General Public License
+ * or later as published by the Free Software Foundation.
+*/
 
 package eu.svjatoslav.meviz.htmlindexer;
 
 import eu.svjatoslav.meviz.htmlindexer.metadata.DirectoryMetadata;
 import eu.svjatoslav.meviz.htmlindexer.metadata.fileTypes.AbstractFile;
 import eu.svjatoslav.meviz.htmlindexer.metadata.fileTypes.Picture;
+import eu.svjatoslav.meviz.htmlindexer.metadata.fileTypes.Video;
 
-import java.io.IOException;
 import java.util.List;
 
 /**
@@ -46,7 +46,7 @@ public interface Layout {
     /**
      * Enlist video file.
      */
-    void enlistVideo(AbstractFile file);
+    void enlistVideo(Video file);
 
     /**
      * Return layout specific suffix that will be appended between
@@ -58,8 +58,6 @@ public interface Layout {
     /**
      * After necessary files have been enlisted for particular directory, use
      * this method to retrieve generated HTML result.
-     *
-     * @throws IOException
      */
     String getHtml(final boolean showTitle,
                    final boolean doHtmlHeaderAndFooter, DirectoryMetadata metadata)