-1

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

Naveen
  • 77
  • 3
  • 22

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,412
  • 10
  • 51
  • 74