Interface JSources

All Known Implementing Classes:
ImplJSources

public interface JSources
A repository of source files.
  • Method Details

    • createSourceFile

      JSourceFile createSourceFile(String packageName, String fileName)
      Create a source file.
      Parameters:
      packageName - the package name of the source file
      fileName - the source file name (excluding .java suffix)
      Returns:
      the source file
    • createPackageInfoFile

      JDocCommentable createPackageInfoFile(String packageName)
      Create a package-info.java file.
      Parameters:
      packageName - the package name
      Returns:
      the source file
    • writeSources

      void writeSources() throws IOException
      Write the source files.
      Throws:
      IOException - if a write operation fails