Modul org.jooq.codegen
Package org.jooq.codegen
Klasse GeneratorWriter<W extends GeneratorWriter<W>>
java.lang.Object
org.jooq.codegen.GeneratorWriter<W>
- Bekannte direkte Unterklassen:
JavaWriter,TextWriter
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.
- Autor:
- Lukas Eder
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGeneratorWriter(File file) protectedGeneratorWriter(File file, String encoding) protectedGeneratorWriter(File file, String encoding, Files files) protectedGeneratorWriter(File file, Files files) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected StringbeforeClose(String string) close()content()protected Stringencoding()file()intindent()indent(int tabs) voidnewlineString(String string) print(char value) print(int value) println()println(int value) printlnIf(boolean condition) intvoidprintMarginForBlockComment(int i) Get a reference to aClass.Get a reference to aEnumliteral.Get a reference to aClass.String[]Get a reference to a list ofClass.protected String[]Get a reference to a list ofClass.protected StringGet a reference to aClass.Get a reference to a list ofClass.Get a reference to a list ofClass.inttab()tab(int tabs) voidtoString()
-
Konstruktordetails
-
GeneratorWriter
-
GeneratorWriter
-
GeneratorWriter
-
GeneratorWriter
-
-
Methodendetails
-
tabString
-
tabString
-
newlineString
-
newlineString
-
printMarginForBlockComment
public int printMarginForBlockComment() -
printMarginForBlockComment
public void printMarginForBlockComment(int i) -
file
-
print
-
print
-
print
-
print
-
printlnIf
-
println
-
println
-
println
-
println
-
indentInc
-
indentDec
-
indent
-
indent
public int indent() -
tab
-
tab
public int tab() -
close
-
encoding
-
beforeClose
-
ref
Get a reference to aEnumliteral. -
ref
Get a reference to aClass. -
ref
Get a reference to aClass. -
ref
Get a reference to a list ofClass. -
ref
Get a reference to a list ofClass.Subtypes may override this to generate import statements.
-
ref
Get a reference to aClass. -
ref
Get a reference to a list ofClass. -
ref
Get a reference to a list ofClass.Subtypes may override this to generate import statements.
-
content
-
toString
-