Meaningless Drivel is fun!
The moose likes Java in General and the fly likes Unjar Folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Unjar Folder" Watch "Unjar Folder" New topic

Unjar Folder

Rawat Vijay

Joined: Jan 27, 2003
Posts: 17
I have a big jar file that contains subfolders and files inside subfolders.
My problem is that instead of unjaring a whole file I want to get files inside a particular sub-folder. In otherwords i want to unjar a particular subfolder inside a jar file.
source.jar is jar file. Directory structure after unjarring is like this:
so if i want to get only subfolder 'com' can i do that
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
I have never heard of any way to do that. What are you trying to accomplish?

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: Unjar Folder
It's not a secret anymore!