4

Possible Duplicate:
RAR archives with java

In a java project I am working on I need to extract a .rar file that is password protected. I do know the password. Does anybody know of a free API that does this?

Community
  • 1
  • 1
John Smith
  • 139
  • 4
  • 12
  • You may want to have a look at this: http://stackoverflow.com/questions/561107/rar-archives-with-java – Misch Oct 09 '12 at 14:56

1 Answers1

-1

You can downlaod use WinZipAES.

It has classes such as de.idyl.winzipaes.AesZipFileEncrypter and de.idyl.winzipaes.AesZipFileDecrypter, which might be useful for you.

This small utility program uses java.util.zip package internally.

Yogendra Singh
  • 33,927
  • 6
  • 63
  • 73
  • Doesn't that only deal with .zip files? This isn't what I need. Thanks anyway. – John Smith Oct 09 '12 at 15:20
  • I thought you want to create a file. Please looks at this- [Password Protected Zip](http://stackoverflow.com/questions/10587561/password-protected-zip-file-in-java). Hope that helps. – Yogendra Singh Oct 09 '12 at 17:19