这是调用类
package com.joker.test;
import java.io.BufferedWriter;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import freemarker.template.Configuration;
import freemarker.template.Template;
import freemarker.template.TemplateException;
import freemarker.template.Template;
import freemarker.template.TemplateException;
public class TestImport {
public static void main(String[] args) {
String templateLoaderPath = "/";
String templateName = "testImport.ftl";
Configuration cfg = new Configuration();
String htmlPath = "D:/freemakerTest";
String htmlName = "testimport.html";
public static void main(String[] args) {
String templateLoaderPath = "/";
String templateName = "testImport.ftl";
Configuration cfg = new Configuration();
String htmlPath = "D:/freemakerTest";
String htmlName = "testimport.html";