This content has been marked as final. Show 5 replies
To my best knowledge, you cannot change the sorting order of methods in the Method Summary
and Method Detail sections of the output generated by the Standard Doclet.
To customize the sorting order, you would need to change the doclet itself (or develop a different one).
(However, my Javadoc, e.g. in JDK 6, does sort Method Summary alphabetically.)
You may also look at this link:
It is a rapid doclet development tool (called DocFlex/Javadoc).
The actual doclets are designed visually in the form of special templates.
The default template set is provided that generates the Java API documentation similar to the standard one.
Using DocFlex/Javadoc, you will be able to customize the standard doclet templates
and in a few minutes change the method sorting (and anything else).
Not only did you revive a thread that has been dead for almost a year, you also failed to read said thread properly (as it already contains the answer to your question).
Let me repeat for the reading challenged among us:
The Javadoc Standard doclet does not let you customize the order of display. If you need such a feature, either create a custom doclet or find a third-party doclet that can do that.
Hi LeonidYes, you can do this with DocFlex/Javadoc:
I would like to do the contrary now with the static final public fields. How to make them documented in the order of their definition and not sorted by alphabetic order.
But you will need to buy a full license.
If you are interested in such a solution and don't know what to do next, just send us an email.
I will explain you everything!
Please, find the contact info on our website.
The Javadoc Standard doclet does not let you customize the order of display. If you need such a feature, either create a custom doclet or find a third-party doclet that can do that.Yes. That's right!