Javadoc output

How can I avoid having <full> class names for standard classes in my javadocs?

E.g.

public java.sql.Connection connect(int type)              or
public java.lang.String info()

etc



piouAsked:
Who is Participating?
 
girionisCommented:
 You cannot.

  A workaround is to not put them in a package. Just put them in the root of your classpath.
0
 
Mayank SAssociate Director - Product EngineeringCommented:
Personally, I would prefer to have the full-names. Some class-names are duplicated in packages, like List, Date, etc.
0
 
sciuriwareCommented:
And you never can with the names listed because you can't reposition them.

At the other hand, enjoy it that the difference is shown with (e.g.) java.util.Date vs. java.sql.Date
And you'll be happy to distinguish between SUN's and yours when the classname is equal too .....
;JOOP!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.