org.openphacts.nextprot
Class TemplateAssembler
java.lang.Object
org.openphacts.nextprot.TemplateAssembler
public class TemplateAssembler
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateAssembler
public TemplateAssembler()
processTemplates
public void processTemplates(File templDir,
File outDir,
Map context)
throws TemplateException
- Process the template(s).
- Parameters:
templDir
- a directory or file where the template is located.outDir
- a directory or file where the output should be written to.
This can be null (current directory is used instead)context
- a map of properties for use inside the velocity context.
- Throws:
TemplateException
- signals abnormal behavior.
processTemplates
public void processTemplates(File templDir)
throws TemplateException
- Process the template(s).
- Parameters:
templDir
- a directory or file where the template is located.
- Throws:
TemplateException
- signals abnormal behavior.
main
public static void main(String[] args)
Copyright © 2012. All Rights Reserved.