org.jooq.util
Class GenerationWriter
java.lang.Object
org.jooq.util.GenerationWriter
public class GenerationWriter
- extends Object
A wrapper for a PrintWriter
This wrapper postpones the actual write to the wrapped PrintWriter
until all information about the target Java class is available. This way, the
import dependencies can be calculated at the end.
- Author:
- Lukas Eder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenerationWriter
public GenerationWriter(File file)
throws FileNotFoundException
- Throws:
FileNotFoundException
printStaticInitialisationStatementsPlaceholder
public void printStaticInitialisationStatementsPlaceholder()
printInitialisationStatementsPlaceholder
public void printInitialisationStatementsPlaceholder()
printSuppressWarningsPlaceholder
public void printSuppressWarningsPlaceholder()
printStaticInitialisationStatement
public void printStaticInitialisationStatement(String statement)
printInitialisationStatement
public void printInitialisationStatement(String statement)
print
public void print(CharSequence string)
println
public void println(CharSequence string)
println
public void println()
print
public void print(Class<?> clazz)
printOnlyOnce
public boolean printOnlyOnce(Object object)
printSerial
public void printSerial()
close
public void close()
printNewJavaObject
public <T> void printNewJavaObject(String type,
Object value)
suppressWarnings
public void suppressWarnings(String string)
Copyright © 2012. All Rights Reserved.