JavaDoc linking (Was: Aspect questions?)
On 3/5/12 7:33 AM, Novice wrote:
Lew<noone@lewscanon.com> wrote in news:jj13jl$qre$1@news.albasani.net:
'ArrayList' has its own URL, also, but yes.
I intended to just give the direct URL but the URL in the browser doesn't
change when I click on things in the API; it just says
"http://docs.oracle.com/javase/7/docs/api/index.html" no matter what I
click on.
Hint. Click on No Frames first.
That leads to
<http://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.html>
You can then click on Frames again, which leads to:
<http://docs.oracle.com/javase/7/docs/api/index.html?java/util/ArrayList.html>
Which will load the main page, but redirect the main frame to the
ArrayList.html. Generally when pointing out JavaDocs, either form is
appropriate, however you can't use "#" to point to a specific section
when using the Frames version. For example, if I wanted to point you to
"contains" in ArrayList, I could use
<http://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.html#contains%28java.lang.Object%29>
However, I have never been able to construct a "Frames" url that does
the right thing.
Hopefully this helps you and others in the future.