edmund-wagner / junrar

plain java unrar util (former sf project)
Other
186 stars 90 forks source link

Archive.java and FileHeader.java updated #23

Open vsubhash opened 11 years ago

vsubhash commented 11 years ago

Archive.java - New extractFile overload FileHeader.java - Fix for getFileNameString

i30817 commented 10 years ago

~~Hmm, i think the documentation on the winrar site is wrong (they're calling 'forward slash '\') I tested winrar 4.20 and 5.1 by making a archive file with dirs on wine for each and then printing the path of both on junrar (with windows jre on wine). They both used '\' instead of '/'. Well, this simplifies things.~~

edit: never mind, the archive i created was not rar 5 but the old version. The new version throws a exception 'badRarArchive'. So the documentation is probably right.