Interface JSources

  • All Known Implementing Classes:
    ImplJSources

    public interface JSources
    A repository of 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 file
        fileName - the source file name (excluding .java suffix)
        Returns:
        the source file
      • createPackageInfoFile

        JDocCommentable createPackageInfoFile​(java.lang.String packageName)
        Create a package-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