- /**
- * After necessary files have been enlisted for particular directory, use
- * this method to retrieve generated HTML result.
- *
- * @param metadata
- * @throws IOException
- */
- public String getHtml(final boolean showTitle,
- final boolean doHtmlHeaderAndFooter, DirectoryMetadata metadata)
- throws IOException;
+ /**
+ * Initialize layout for particular directory.
+ */
+ void init(String galleryTitle, List<String> path,
+ final AbstractIndexer indexer, IndexingContext context);