org.exolab.castor.builder.printing
Class WriterJClassPrinter
java.lang.Object
org.exolab.castor.builder.printing.WriterJClassPrinter
- All Implemented Interfaces:
- JClassPrinter
public class WriterJClassPrinter
- extends Object
- implements JClassPrinter
Prints a given JClass to the file system using the
AbstractJClass.print(org.exolab.javasource.JSourceWriter) method.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WriterJClassPrinter
public WriterJClassPrinter()
printClass
public void printClass(JClass jClass,
String outputDir,
String lineSeparator,
String header)
- Prints the given
JClass instance to the given output directory.
- Specified by:
printClass in interface JClassPrinter
- Parameters:
jClass - The JClass to print.outputDir - The target directory.lineSeparator - The line separator to use.header - The standard header to print.- See Also:
JClassPrinter.printClass(org.exolab.javasource.JClass,
java.lang.String, java.lang.String, java.lang.String)
Copyright © 2012. All Rights Reserved.