Solved

Javadoc output

Posted on 2003-12-05
3
264 Views
Last Modified: 2010-03-31
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



0
Comment
Question by:piou
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 35

Accepted Solution

by:
girionis earned 50 total points
ID: 9880910
 You cannot.

  A workaround is to not put them in a package. Just put them in the root of your classpath.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 9881059
Personally, I would prefer to have the full-names. Some class-names are duplicated in packages, like List, Date, etc.
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 9881074
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This video teaches viewers about errors in exception handling.

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question