Package org.jboss.jdeparser
Interface JSources
- All Known Implementing Classes:
ImplJSources
public interface JSources
A repository of source files.
-
Method Summary
Modifier and TypeMethodDescriptioncreatePackageInfoFile(String packageName) Create apackage-info.javafile.createSourceFile(String packageName, String fileName) Create a source file.voidWrite the source files.
-
Method Details
-
createSourceFile
Create a source file.- Parameters:
packageName- the package name of the source filefileName- the source file name (excluding.javasuffix)- Returns:
- the source file
-
createPackageInfoFile
Create apackage-info.javafile.- Parameters:
packageName- the package name- Returns:
- the source file
-
writeSources
Write the source files.- Throws:
IOException- if a write operation fails
-