Eclipse How to import the external library documentation


When we import the external library to eclipse Java project, we can use auto correctipon feature of eclipse for the imported methods from new libraries but we can't see what the methods specifically do. We have to import library's documentation.

Question1: How can I import documentation into eclipse project?

Question2: What is Java Documentation looks like?

Question3: Which file format Java documentation using?

  • Right click on your project->properties->java build path
  • select the libraries (its generally .jar file)
  • click on the dropdown of the libraries to expand the settings-> select source attachment none and click on edit
  • select the source to the doc ( java documents generally represented by JavaDoc)
  • click okay.