Package org.jboss.jdeparser
Interface JSources
-
public interface JSources
A repository of source files.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JDocCommentable
createPackageInfoFile(java.lang.String packageName)
Create apackage-info.java
file.JSourceFile
createSourceFile(java.lang.String packageName, java.lang.String fileName)
Create a source file.void
writeSources()
Write the source files.
-
-
-
Method Detail
-
createSourceFile
JSourceFile createSourceFile(java.lang.String packageName, java.lang.String fileName)
Create a source file.- Parameters:
packageName
- the package name of the source filefileName
- the source file name (excluding.java
suffix)- Returns:
- the source file
-
createPackageInfoFile
JDocCommentable createPackageInfoFile(java.lang.String packageName)
Create apackage-info.java
file.- Parameters:
packageName
- the package name- Returns:
- the source file
-
writeSources
void writeSources() throws java.io.IOException
Write the source files.- Throws:
java.io.IOException
- if a write operation fails
-
-