Finding java packages available in a jar file..
Hi All,
I need to find the java packages available in the jar file. I thought of doing this like this. I traverse through the directory, and if a directory has a .class file, then i can form the package structure by finding the parent.
But the problem is ZipEntry doesn't seem to have any method to find the files/sub directory count in a zipped folder.
Is is possible to find it or not? I feel like Files/Folder will be maintained like Individual entry with path as an attribute (to recreate directory structure). am I right? how to solve this problem?

