public class CodeWriter extends StringWriter
| Constructor and Description |
|---|
CodeWriter(String dir,
String file)
Constructor to use for .java files.
|
CodeWriter(String dir,
String file,
String fileNameSuffix)
Constructor to use for custom file suffixes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
This method is expected to be called only once during the code generation process after the
template processing is done.
|
public CodeWriter(String dir, String file)
dir - output directory where the file is to be created.file - name of the file without .java suffix.public void flush()
flush in interface Flushableflush in class StringWriterCopyright © 2023. All rights reserved.