Solved

Javadoc output

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java JRE greater than 1.6 5 63
jdbc error in jsp application 20 46
Java: anonymous class 4 22
Html Table Looping (part 2) 5 8
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

803 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