public class JavaSourceWriter extends PrintWriter
out
Constructor and Description |
---|
JavaSourceWriter(File destination)
ML added comment 20170607:
|
Modifier and Type | Method and Description |
---|---|
File |
getPackageFile(MetaPackage metaPackage) |
void |
setSourceFile(GeneratedSourceFile file) |
void |
setSourceFile(GeneratedSourceFile file,
boolean header) |
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
public JavaSourceWriter(File destination)
destination
- The position of the root of the source file tree to generate.public File getPackageFile(MetaPackage metaPackage)
public void setSourceFile(GeneratedSourceFile file) throws IOException
IOException
public void setSourceFile(GeneratedSourceFile file, boolean header) throws IOException
IOException
see also the complete user documentation .