I want to unrar a file which contains one level of files.
That's what I made so far:
Runtime.getRuntime().exec("C:\\Program Files\\WinRAR\\WinRAR.exe unrar -x " + inputZipFile + " " + outputFolderPath);
And it doesn't make anything.
You might give a try this library:
https://github.com/edmund-wagner/junrar
This is some example code from the author:
https://github.com/edmund-wagner/junrar/blob/master/testutil/src/main/java/com/github/junrar/testutil/ExtractArchive.java
You might give a try this library:
https://github.com/edmund-wagner/junrar
This is some example code from the author:
https://github.com/edmund-wagner/junrar/blob/master/testutil/src/main/java/com/github/junrar/testutil/ExtractArchive.java