X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fmeviz%2Fhtmlindexer%2FLayout.java;h=5083b39381fb2c75ddd8ccb661e25553d378a4ae;hb=567410640f4e0428caf9de9fc83df4c73f0e5067;hp=c1e6d23b2ba6cda447e5858e10fb0ca0e9332b1d;hpb=ddbd9cbd9c6835c7f130445337fa3b507264eb77;p=meviz.git diff --git a/src/main/java/eu/svjatoslav/meviz/htmlindexer/Layout.java b/src/main/java/eu/svjatoslav/meviz/htmlindexer/Layout.java index c1e6d23..5083b39 100755 --- a/src/main/java/eu/svjatoslav/meviz/htmlindexer/Layout.java +++ b/src/main/java/eu/svjatoslav/meviz/htmlindexer/Layout.java @@ -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)