The moose likes Java in General and the fly likes Class documentation from a jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Class documentation from a jar file" Watch "Class documentation from a jar file" New topic
Author

Class documentation from a jar file

nitinram agarwal
Ranch Hand

Joined: Jan 29, 2009
Posts: 83
Hi,
In my current project, I work on some third party product and the product gets upgraded with new features etc and typically we receive an update on semi annual or annual basis. With each upgrade the version number of the product changes (in line with Jdk release like Java 5/6 etc).
The issue that issue I am facing is that though the release is well documented.I need to get an idea of how an existing class has changed and what are the new API/packages. I want to know if there is any kind of coding which can be done, which takes a jar and then give me a documents (something similar to Java API).
I plan to spend sometime reading google etc but due to time constraint, am reaching to forum. Any help or pointer will be really helpful.

Regards,
Ramakant
Ivan Jozsef Balazs
Rancher

Joined: May 22, 2012
Posts: 877
    
    5
Does that product not come with documentation and release notes?

A jar file is a zip file, so you can get the list of the classes.

Anyway, the utility javap (contained in the development kit) tells about the methods of a class.
Steve Fahlbusch
Bartender

Joined: Sep 18, 2000
Posts: 581
    
    7

assuming you are on a windows platform.... (not necessary on OSX or *inx)

get win merge... this allows you to compare two directory paths for differences. that way you will know all of the differences. You can then use other tools to examine the diffs.
nitinram agarwal
Ranch Hand

Joined: Jan 29, 2009
Posts: 83
Thanks for the details. For the time being, I am relying on javap to go through the details as documentation is not very readable.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Class documentation from a jar file