From 560bdf297f353959c3ec7a667d6d33ab6f0db05a Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 3 Apr 2019 21:54:47 +0200 Subject: Added basic file listing view --- src/main/resources/compiled-views/files.java | 121 +++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 src/main/resources/compiled-views/files.java (limited to 'src/main/resources/compiled-views/files.java') diff --git a/src/main/resources/compiled-views/files.java b/src/main/resources/compiled-views/files.java new file mode 100644 index 0000000..2c3f640 --- /dev/null +++ b/src/main/resources/compiled-views/files.java @@ -0,0 +1,121 @@ + +import com.fizzed.rocker.RenderingException; +import com.fizzed.rocker.runtime.DefaultRockerTemplate; +import com.fizzed.rocker.runtime.PlainTextUnloadedClassLoader; + +import java.io.IOException; +import java.util.ArrayList; + +/* + * Auto generated code to render template /files.rocker.html + * Do not edit this file. Changes will eventually be overwritten by Rocker parser! + */ +@SuppressWarnings("unused") +public class files extends com.fizzed.rocker.runtime.DefaultRockerModel { + + // argument @ [1:2] + private ArrayList files; + + static public com.fizzed.rocker.ContentType getContentType() { + return com.fizzed.rocker.ContentType.HTML; + } + + static public String getTemplateName() { + return "files.rocker.html"; + } + + static public String getTemplatePackageName() { + return ""; + } + + static public String getHeaderHash() { + return "-1618097059"; + } + + static public String[] getArgumentNames() { + return new String[]{"files"}; + } + + static public files template(ArrayList files) { + return new files() + .files(files); + } + + public files files(ArrayList files) { + this.files = files; + return this; + } + + public ArrayList files() { + return this.files; + } + + @Override + protected DefaultRockerTemplate buildTemplate() throws RenderingException { + // optimized for performance (via rocker.optimize flag; no auto reloading) + return new Template(this); + } + + static public class Template extends com.fizzed.rocker.runtime.DefaultRockerTemplate { + + //