org.msgpack.util
Class TemplatePrecompiler
java.lang.Object
org.msgpack.util.TemplatePrecompiler
public class TemplatePrecompiler
- extends Object
This class is a template precompiler, which is used for saving templates
that TemplateBuilder
generated. It saves templates as .class files.
Application enables to load the .class files and use templates.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEST
public static final String DEST
- See Also:
- Constant Field Values
DEFAULT_DEST
public static final String DEFAULT_DEST
- See Also:
- Constant Field Values
TemplatePrecompiler
public TemplatePrecompiler()
saveTemplates
public static void saveTemplates(String[] classNames)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
saveTemplateClasses
public static void saveTemplateClasses(TemplateRegistry registry,
Class<?>[] targetClasses)
throws IOException
- Throws:
IOException
saveTemplateClass
public static void saveTemplateClass(TemplateRegistry registry,
Class<?> targetClass)
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2011. All Rights Reserved.