-1

I need to extract all type of archived file like .zip, .rar using java.

Naveen
  • 67
  • 2
  • 16

1 Answers1

0

You can extract *.zip, *.jar and *.gz using java inbuilt library called GZIPInputStream.

If you want to extract .rar then you have to use junrar library

Sasikumar Murugesan
  • 4,214
  • 10
  • 50
  • 73