org.msgpack.util
Class TemplatePrecompiler

java.lang.Object
  extended by 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.


Field Summary
static String DEFAULT_DEST
           
static String DEST
           
 
Constructor Summary
TemplatePrecompiler()
           
 
Method Summary
static void main(String[] args)
           
static void saveTemplateClass(TemplateRegistry registry, Class<?> targetClass)
           
static void saveTemplateClasses(TemplateRegistry registry, Class<?>[] targetClasses)
           
static void saveTemplates(String[] classNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEST

public static final String DEST
See Also:
Constant Field Values

DEFAULT_DEST

public static final String DEFAULT_DEST
See Also:
Constant Field Values
Constructor Detail

TemplatePrecompiler

public TemplatePrecompiler()
Method Detail

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.