Solved

Javadoc output

Posted on 2003-12-05
3
243 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
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:mayankeagle
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

759 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now