Mounting a Javadoc Filesystem

The Javadoc tab of the Explorer displays Javadoc documentation that you have mounted in the IDE or that you have generated in the IDE from mounted sources. By default, this tab includes the javadoc directory in your IDE installation directory and the file ant-api.zip.

To mount a directory:

  1. In the Explorer, click the Javadoc tab.
  2. In the Javadoc tab, right-click the Javadoc node and choose Add Directory.
  3. In the Mount Directory dialog box, select the directory that contains the Javadoc documentation.

    When selecting a directory, make sure that it has an index-files directory or index-all.html file in the top or the second level of its hierarchy. Otherwise, a search will not work.

  4. Click Mount.

    The new filesystem is added to the Javadoc tab.

To mount a JAR or zip file:

  1. In the Explorer, click the Javadoc tab.
  2. In the Javadoc tab, right-click the Javadoc node and choose Add JAR.
  3. In the Mount JAR Archive dialog box, select the JAR or zip file that contains the Javadoc documentation.

  4. Click Mount.

    The new JAR or zip file is added to the Javadoc tab.

You can mount a JAR or zip file that does not have any Javadoc index files. Ignore the warning that the Javadoc index files cannot be found and mount the JAR or zip file. Right-click the mount point in the Javadoc tab of the Explorer and choose Properties. Open the Expert tab and set the Root Offset property to a relative mount point.

To unmount a filesystem, JAR file, or zip file:

See also
Mounting the Java 2 SDK
Searching Through Javadoc-Generated Documentation
Generating Javadoc Documentation
Browsing the Javadoc Documentation of the JDK

Legal Notices