X-Git-Url: http://git.nikiroo.be/?p=fanfix.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2Fweb%2Ftemplates%2FWebLibraryServerTemplates.java;h=cdc936ab6ce72a921233b9061d3579235795a1cf;hp=31abe69919acaf217e85c53c754d7a7d0b54a626;hb=b8b60b3217e62f1896cc3a57763bddd147474695;hpb=074a83257de30c3cd7409b0840ab6f27ed0e93b5 diff --git a/src/be/nikiroo/fanfix/library/web/templates/WebLibraryServerTemplates.java b/src/be/nikiroo/fanfix/library/web/templates/WebLibraryServerTemplates.java index 31abe69..cdc936a 100644 --- a/src/be/nikiroo/fanfix/library/web/templates/WebLibraryServerTemplates.java +++ b/src/be/nikiroo/fanfix/library/web/templates/WebLibraryServerTemplates.java @@ -7,9 +7,19 @@ import be.nikiroo.fanfix.bundles.UiConfig; import be.nikiroo.fanfix.library.Template; import be.nikiroo.utils.Version; +/** + * Utility class to retrieve and fill HTML templates for Fanfix web server. + * + * @author niki + */ public class WebLibraryServerTemplates { static private WebLibraryServerTemplates instance = new WebLibraryServerTemplates(); + /** + * Get the (unique) instance of this {@link WebLibraryServerTemplates}. + * + * @return the (unique) instance + */ static public WebLibraryServerTemplates getInstance() { return instance; } @@ -110,30 +120,44 @@ public class WebLibraryServerTemplates { ; } - public Template viewer(Template browser, List