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.
I cannot extract(unzip) the zip file content using the below code:
The above zipFileExtractor() method takes 3 paramters(source folder,destination folder,zip file name),I have placed the above zip file in the source folder.
The method which is called is given below:
When I run the main method I get null value in the below variable:
Can someone please help.
Thanks
Moieen Khatri
Ranch Hand
Joined: Nov 27, 2007
Posts: 144
posted
0
I just noticed that my code doesnt work for files with DURSME_1.xml.zip extension,however if the file has the extension DURSME_1.zip the code works fine.
Is there any workaround for this?I need the code to work for files with the extension .xml.gz,.xml.zip,.zip