Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Expose methods in a CLASS

Status
Not open for further replies.

AnanthaP

IS-IT--Management
Feb 13, 2003
152
IN
Hi,

I don't do Java, but need to work with Java Class files in a browser environment for the following specfic scenario.

I've receieved a JAR file containg lots of *.class files without any documentation. I need to use them from within a browser (say with java script).

Is there any way (tool, utility, method) that I can use to expose and document the exposable methods in each CLASS file without access to the code?

I am thinking of something like the ViewDependencies of the Microsoft visual studio.

The platform is WINTEL.

If so, please tell em.

If not, please tell me since I am on atight time target.

Thanks in advance.


End
 
For method signatures use javap, the Java "Decompiler". I think that is what you want.
 
Most IDE can expose all classes and method of a package to you. In Eclipse, after you include a package to the build path, then you can use the package explorer to explore the packge.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top