Newer
Older
import freemarker.template.Configuration;
import freemarker.template.Template;
import freemarker.template.TemplateException;
import java.io.IOException;
import java.io.StringWriter;
import java.io.Writer;
import java.util.HashMap;
import java.util.Map;
public class ProfGUI
{
public static String getAllProfs() throws IOException, TemplateException {
Map<String, Object> input = new HashMap<>();
input.put("profs", ProfCore.getAllProfs());
return DefaultGUI.getDefaultGUI(input);
}
}