Java - Zip/UnZip handling

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sudhivns
    New Member
    • Nov 2007
    • 52

    #1

    Java - Zip/UnZip handling

    Looking for Zip/Unzip handling code.
    Unzip feature should extract the files including the absolute path.
    Eg:
    Input
    data.zip contains
    1. folder IMP
    2. some *.txt files.

    On Unzip, i choose the location where i want to extract say
    F:\Data, now extracted files should appear in F:\Data including the absolute path.

    Output:
    F:\Data contains (data.zip contents)
    1. Folder IMP
    2. Some *.txt files
  • heat84
    New Member
    • Nov 2007
    • 118

    #2
    Read more about ZipInputStream and ZipOutputStream classes of the java.util class.

    Comment

    Working...