File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
subject: Unjar Folder
Similar Threads
JSF with Weblogic 8.1 sp3
Show the selected file and folder in tree structure with checkbox and the checkbox should be only..
Regarding Jar Utility
Can't run main class from JAR file
Retrieve Folder and File Information