X-Git-Url: http://git.nikiroo.be/?p=fanfix.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2Fweb%2Ftemplates%2FWebLibraryServerTemplates.java;fp=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2Fweb%2Ftemplates%2FWebLibraryServerTemplates.java;h=59e7020c62fa6254ff3c20da3e0a4aa939031b22;hp=31abe69919acaf217e85c53c754d7a7d0b54a626;hb=1f1318b8c0ba0bc472c263e54079cbaa6e303fe0;hpb=8d45985b29359a84eaf3b0465374acbec3474faf diff --git a/src/be/nikiroo/fanfix/library/web/templates/WebLibraryServerTemplates.java b/src/be/nikiroo/fanfix/library/web/templates/WebLibraryServerTemplates.java index 31abe69..59e7020 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,9 +120,21 @@ public class WebLibraryServerTemplates { ; } - public Template viewer(Template browser, List