Links instead of whole package path

Hello!

JavaDoc works very fine but there is one little thing that troubles me.

In the standard Java 5 API every class and it's packages are represented as links (e.g. java.io.File is displayed asFile). Regretfully I did not find a possibility how this works on my documents. Someone told me to use the link option when creating the documents with javadoc on commandline but it didn't work. Especially classes from the standard API should be displayed as link, such as File, String...

I would be very pleased if you could give me a good hint or better, give me an example who it works.

Thanks in advance,

Buliwyf

[660 byte] By [buliwyfa] at [2007-11-27 5:06:16]
# 1

This very example is illustrated in the Javadoc Reference page, paraphrased here:

1) Open the package-list file in a browser at http://java.sun.com/j2se/1.5.0/docs/api/package-list, save it to a local directory

2) cd to the directory holding package-list

3) Run javadoc with -linkoffline, passing in current directory "." as its second argument

C:> javadoc -linkoffline http://java.sun.com/javase/6/docs/api . com.mypackage

http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html#linkofflineabsoluteexample

dhkramera at 2007-7-12 10:24:56 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...