Package eu.bandm.tools.metajava
Class JavaSourceWriter
java.lang.Object
java.io.Writer
java.io.PrintWriter
eu.bandm.tools.metajava.JavaSourceWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
-
Field Summary
Fields inherited from class java.io.PrintWriter
out
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPackageFile
(MetaPackage metaPackage) void
void
setSourceFile
(GeneratedSourceFile file, boolean header) Methods inherited from class java.io.PrintWriter
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
Methods inherited from class java.io.Writer
nullWriter
-
Constructor Details
-
JavaSourceWriter
ML added comment 20170607:- Parameters:
destination
- The position of the root of the source file tree to generate.
-
-
Method Details
-
getPackageFile
- Returns:
- the directory in which all class sources of the given package will reside.
-
setSourceFile
- Throws:
IOException
-
setSourceFile
- Throws:
IOException
-