public class TemplateJClassPrinter extends Object implements JClassPrinter
Modifier and Type | Field and Description |
---|---|
static String |
TEMPLATE_PACKAGE
The package that contains the velocity templates.
|
Constructor and Description |
---|
TemplateJClassPrinter() |
Modifier and Type | Method and Description |
---|---|
void |
printClass(JClass jClass,
String outputDir,
String lineSeparator,
String header)
Prints the given
JClass instance to the given output directory. |
public static final String TEMPLATE_PACKAGE
public void printClass(JClass jClass, String outputDir, String lineSeparator, String header)
JClass
instance to the given output directory.printClass
in interface JClassPrinter
jClass
- The JClass to print.outputDir
- The target directory.lineSeparator
- The line separator to use.header
- The standard header to print.JClassPrinter.printClass(
org.exolab.javasource.JClass, java.lang.String, java.lang.String,
java.lang.String)
Copyright © 2019. All rights reserved.