X-Git-Url: http://git.nikiroo.be/?p=gofetch.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Fgofetch%2Foutput%2FOutput.java;fp=src%2Fbe%2Fnikiroo%2Fgofetch%2Foutput%2FOutput.java;h=dc197f0153b3b2167edb8edd438cb09afc24d6ea;hp=1166879ea36de11a9eba1be26200f594a1c9dbd7;hb=3367f6256b5143b7cba2a61de36e74f389a5f379;hpb=b389651b0012a7ba1ff30d164958e155688ac216 diff --git a/src/be/nikiroo/gofetch/output/Output.java b/src/be/nikiroo/gofetch/output/Output.java index 1166879..dc197f0 100644 --- a/src/be/nikiroo/gofetch/output/Output.java +++ b/src/be/nikiroo/gofetch/output/Output.java @@ -1,6 +1,7 @@ package be.nikiroo.gofetch.output; import be.nikiroo.gofetch.data.Story; +import be.nikiroo.gofetch.support.BasicSupport; import be.nikiroo.gofetch.support.Type; /** @@ -49,18 +50,42 @@ public abstract class Output { } /** - * Get the header to use in the index file. + * Get the header to use in the main index file (the one which will + * reference all the supported web sites index files). * * @return the header */ - abstract public String getIndexHeader(); + abstract public String getMainIndexHeader(); /** - * Get the footer to use in the index file. + * Get the footer to use in the index file (the one which will reference all + * the supported web sites index files). * * @return the footer */ - abstract public String getIndexFooter(); + abstract public String getMainIndexFooter(); + + /** + * Get the header to use in the index file (the supported web site + * index file this output is for). + * + * @param support + * the supported web site + * + * @return the header + */ + abstract public String getIndexHeader(BasicSupport support); + + /** + * Get the footer to use in the index file (the supported web site + * index file this output is for). + * + * @param support + * the supported web site + * + * @return the footer + */ + abstract public String getIndexFooter(BasicSupport support); /** * Export the header of a story (a resume mode).