Package org.jboss.jdeparser
Interface JSources
-
- All Known Implementing Classes:
ImplJSources
public interface JSourcesA repository of source files.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JDocCommentablecreatePackageInfoFile(java.lang.String packageName)Create apackage-info.javafile.JSourceFilecreateSourceFile(java.lang.String packageName, java.lang.String fileName)Create a source file.voidwriteSources()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.javasuffix)- Returns:
- the source file
-
createPackageInfoFile
JDocCommentable createPackageInfoFile(java.lang.String packageName)
Create apackage-info.javafile.- Parameters:
packageName- the package name- Returns:
- the source file
-
writeSources
void writeSources() throws java.io.IOExceptionWrite the source files.- Throws:
java.io.IOException- if a write operation fails
-
-