How to walk jar files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ricuzzo
    New Member
    • Nov 2006
    • 1

    #1

    How to walk jar files

    Hi to all,
    I am trying to get the content of a jar file and read the size of each of the classes contained in the jar file. I am looking for it in internet but i dont find anything.
    What i am really trying to do is to get the version of each file inside a jar file, any ideas?
    (if anyone knows some kind of way to get a file version under windows or unix, it wil very welcome)
    thank you!!
  • fuffens
    New Member
    • Oct 2006
    • 38

    #2
    Read the following article and download the code:


    The zipfile module can be used to iterate through files in zip and jar archives.

    Best regards
    /Fredrik

    Comment

    Working...