I am trying to find checksum of all class files in a archive (zip /rar)
I have a method which takes Input Stream as input and returns checksum for the class.
I am able to read the zip archive using ZipInputStream ,ZipEntry and ZipFile classes but somehow not able to read rar files.
I came across few 3rd party jars which claim to read Rar file(RaroScope.I guess that was the name).
Just wanted to know if I can do it in Java.
I am using below code .The second line returns null in case of rar file but it returns an entry in case of zip file