问题
Is there a good java API for manipulating RAR archive files someone could recommend? Googling did not turn up anything overwhelmingly convincing.
回答1:
You could try JUnRar, "a RAR handling API implemented in pure Java" (quoting the site).
回答2:
There is also this fork from SF(@Fabian's answer and this one are forked from an old SF project):
https://github.com/jukka/java-unrar
回答3:
I think this will help you.
raroscope
A pure Java library for scanning and enumerating RAR archive contents
来源:https://stackoverflow.com/questions/561107/rar-archives-with-java