Search code examples
javadelphijarextractdecompiler

How can I extract symbols defined in a jar file using Delphi?


I have a java jar file consists of some classes that each class has some variables, constants, functions,...

I want to extract the name of these classes, variables, constants, functions and function parameters in my Delphi program.

A work like that JD-GUI does. How can I do this? Is there any java sdk command line to do this ?


Solution

  • Emil M. Santos has done the job for you.

    He is the author of Class Explorer : an utility for browsing the low-level contents of a Java compiled class file (.class).


    (source: codexterity.com)

    You can grab its (Delphi for sure) source code here.

    Good luck.