X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;ds=inline;f=src%2Fbe%2Fnikiroo%2Fgofetch%2Foutput%2FOutput.java;h=dc197f0153b3b2167edb8edd438cb09afc24d6ea;hb=c715ea028a2b9865b1b5a619b7cf7553a89aa90d;hp=1166879ea36de11a9eba1be26200f594a1c9dbd7;hpb=3e62b034c1981ae6329f06b3f8c0ee25c3683789;p=gofetch.git
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).