Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

Gregory Nash

Greenhorn
+ Follow
since Jun 09, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Gregory Nash

Yeah, I figured out how to unzip with java.util.unzip by doing web searches before I read your reply but I was still curious if I could have done it with an external call to WinZip Thanks for satisfying my curiosity I feel better about not being able to do it now
11 years ago
I'm wondering about internally managing Win32 applications. I've been trying to simplify my problem by internally managing notepad, but my real goal is to use WinZip with my java program.
I originally attempted to use the java.util.zip package to unzip files to a temporary folder but was unsuccessful. Currently I'm attempting to write a java program that uses WinZip to unzip files.
This problem arose because I'm writing a program that searches through a file system for particular files (ones that contain a keyword). I was able to search within a zip file using the java.util.zip package but my program gets stuck when it comes across a zip file within a zip file.
I'm excited about solving this problem because I imagine that the ability to internally manage Win32 applications would be a very useful tool for the future, but I'm worried that maybe java can only interact with a console I/O interface.
Please Help!
11 years ago