public interface JSources
| Modifier and Type | Method and Description |
|---|---|
JDocCommentable |
createPackageInfoFile(java.lang.String packageName)
Create a
package-info.java file. |
JSourceFile |
createSourceFile(java.lang.String packageName,
java.lang.String fileName)
Create a source file.
|
void |
writeSources()
Write the source files.
|
JSourceFile createSourceFile(java.lang.String packageName, java.lang.String fileName)
packageName - the package name of the source filefileName - the source file name (excluding .java suffix)JDocCommentable createPackageInfoFile(java.lang.String packageName)
package-info.java file.packageName - the package namevoid writeSources()
throws java.io.IOException
java.io.IOException - if a write operation fails