FlexDoc/Javadoc - JavadocClassic - Demo
You can also download these demo JavaDocs here:
- Framed HTML documentation: FramedDoc_demo.zip (4.5 MB)
- Single-file HTML and RTF documentation: SingleDoc_demo.zip (564 KB)
HTML Demo
Framed HTML
This demo documentation has been generated using FramedDoc.tpl template for the following packages and single clases:java.base/java.lang
java.base/java.lang.annotation
java.base/java.io
java.base/java.util
java.base/java.util.concurrent
java.desktop/javax.swing.undo
java.desktop/javax.swing.GroupLayout.java
java.desktop/javax.swing.JOptionPane.java
java.desktop/javax.swing.text.Document.java
java.desktop/javax.swing.text.JTextComponent.java
java.desktop/javax.swing.text.html.HTMLDocument.java
java.xml/javax.xml.catalog
jdk.javadoc/jdk.javadoc.doclet
-link https://docs.oracle.com/en/java/javase/17/docs/api/
Single File HTML
The SingleDoc.tpl template is able to produce not only RTF. It can generate a single-file HTML documentation (as well as in any other output format currently supported by FlexDoc). The next screenshot shows such an HTML generated for the classes:java.base/java.lang.StackOverflowError.java
java.base/java.lang.Enum.java
java.base/java.util.EnumSet.java
java.desktop/javax.swing.JOptionPane.java
java.desktop/javax.swing.text.Document.java
java.desktop/javax.swing.text.JTextComponent.java
java.desktop/javax.swing.text.html.HTMLDocument.java
java.xml/javax.xml.catalog.Catalog.java
java.xml/javax.xml.catalog.CatalogFeatures.java
RTF Demo
The following is a sample RTF documentation generated with the SingleDoc.tpl template.This RTF document has been generated for the following classes directly specified on the Javadoc command line:
java.base/java.lang.StackOverflowError.java
java.base/java.lang.Enum.java
java.base/java.util.EnumSet.java
java.desktop/javax.swing.JOptionPane.java
java.desktop/javax.swing.text.Document.java
java.desktop/javax.swing.text.JTextComponent.java
java.xml/javax.xml.catalog.Catalog.java
java.xml/javax.xml.catalog.CatalogFeatures.java
jdk.javadoc/jdk.javadoc.doclet.Doclet.java
jdk.javadoc/jdk.javadoc.doclet.Taglet.java
These are the overview of java.base/java.lang
package and the details of
Enum
and
StackOverflowError
classes:
The module java.xml
overview:
The overviews of jdk.javadoc
module and
jdk.javadoc.doclet
package in it:
The following are the pages for
javax.swing.text.Document
interface and
javax.swing.text.JTextComponent.java
class,
whose Java sources contain comments richly formatted with various embedded HTML tags (including images).
Here you can see how FlexDoc is able to handle such an embedded HTML
and render it with the appropriate formatting in RTF:
As you can see, the result looks nearly identical to what would be expected from best HTML browsers. Yet, this is MS Word displaying an RTF, which understands no HTML markup!
The images were picked automatically by the generator from their original locations
(in doc-files
subdirectories) within the provided Java sources.
Please notice also a table in the bottom-right screenshot. FlexDoc core is able to render in RTF
the tables of any complexity and arbitrary layout defined with HTML tags!
RTF in LibreOffice
You can equally run FlexDoc/Javadoc under Linux and generate RTF documentation to open it in LibreOffice.org. (For more information, see also Documentation | FAQ | Generating RTF for LibreOffice.)Here is how such an RTF looks when open with LibreOffice Writer (click to enlarge):
The following is the screenshot of JavadocClassic | SingleDoc.tpl main template, which has generated the RTF above (click to enlarge): It is open with the Template Designer running under Ubuntu Linux.