public class DocumentProducer extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static ThreadLocal<String> |
ModelSuffixFlagLocal |
static ThreadLocal<Integer> |
PicCountLocal |
| 构造器和说明 |
|---|
DocumentProducer() |
DocumentProducer(freemarker.template.Configuration CustomerConfig,
String ActualModelPath) |
DocumentProducer(String ActualModelPath) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
Complie(String XmlModelPath,
String XmlModelName,
boolean debugModel) |
void |
produce(Object data,
OutputStream ProduceFileout) |
void |
produce(Object data,
OutputStream ProduceFileout,
Config config) |
void |
produce(Object data,
String ProduceFilePath) |
void |
produce(Object data,
String ProduceFilePath,
Config config) |
public static ThreadLocal<String> ModelSuffixFlagLocal
public static ThreadLocal<Integer> PicCountLocal
public DocumentProducer(freemarker.template.Configuration CustomerConfig,
String ActualModelPath)
public String Complie(String XmlModelPath, String XmlModelName, boolean debugModel) throws Exception
Exceptionpublic void produce(Object data, OutputStream ProduceFileout) throws IOException, freemarker.template.TemplateException
IOExceptionfreemarker.template.TemplateExceptionpublic void produce(Object data, OutputStream ProduceFileout, Config config) throws IOException, freemarker.template.TemplateException
IOExceptionfreemarker.template.TemplateExceptionpublic void produce(Object data, String ProduceFilePath, Config config) throws IOException, freemarker.template.TemplateException
IOExceptionfreemarker.template.TemplateExceptionCopyright © 2022. All rights reserved.