This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Java in General and the fly likes Unjar Folder Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Unjar Folder" Watch "Unjar Folder" New topic
Author

Unjar Folder

Rawat Vijay
Greenhorn

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.
Example.
source.jar is jar file. Directory structure after unjarring is like this:
estart
-service
-xsls
-utils
-java
-com
-aig
so if i want to get only subfolder 'com' can i do that
Cindy Glass
"The Hood"
Sheriff

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: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
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
Retrieve Folder and File Information
Can't run main class from JAR file