Ved International Discussion Board
Ved International Discussion Board
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Unzipping File Using Java

Go down

Unzipping File Using Java Empty Unzipping File Using Java

Post by jp2012 on Sun Jul 21, 2013 6:23 am

This tutorial is intended to show how Java programming language can be used to unzip a zip file. This program currently unzips a .zip extension.

Here are some features that I would like to highlight:

* You can hard code the zip file location and destination extraction location and then run the program.
* Alternately, you can pass these as an argument from the console.
* If you pass the parameters from the console, hard coded parameters will be discarded.
* This program does not maintain the folder structure.
* It unzips all the files into a given destination directory.
* You can tweak this program to unzip the file to the proper directory structures.
* This file unzipping tutorial uses standard Java API.
* You can download the source code here. You are free to modify and distribute this source code. Please honor my work by attributing back to my blog.


Posts : 145
Join date : 2013-06-30
Location : Japan

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum