Forums Register Login

Javadoc for Package

+Pie Number of slices to send: Send
Does anyone know how to generate javadoc comments for the Package? I tried adding it before the package declaration in one class from that package but it did not work.
+Pie Number of slices to send: Send
Try to google for package-info.java. It will tell you more
+Pie Number of slices to send: Send
Hi

You need a package.html in each package. You can find a description in
"How to Write Doc Comments", chapter "Package-Level Comments".
You can get this document from the java.sun.com(javadoc page).

Regards M
+Pie Number of slices to send: Send
This is true for jdk1.4 and still can be used in jdk5, but starting with jdk5 the package level info (there can be more than just javadoc) should be placed in package-info.java.
+Pie Number of slices to send: Send
Thank you !!
Nothing? Or something? Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 871 times.
Similar Threads
Creating javadocs for "published" API vs public API
NX: Default Class Visibility
package.html in src - should it be removed?
ready to upload, 1 question
How can you check for the existance of system packages?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 19:58:01.