From: Christian S. <chr...@sc...> - 2005-12-07 17:21:02
|
Dear Mikael, thanks for the kind words. :-) I should add that TrueZIP uses CP437 for all files ending with a .ZIP suffix by default (this is configurable). However, for this to work, a user must have a *full* installation of the JRE. The standard installation unfortunately does not come with CP437, in which case TrueZIP automatically reverts to UTF-8, unfortunately without a trace yet. I will document or enhance this somewhat later (probably reverting to CP850 instead if this is a close match to CP437 and available in any standard JRE installation). On the random access: Like the java.util.zip.ZipFile class, TrueZIP does provide random access to individual entries of a ZIP file without decompressing the entire archive. However, due to the ZIP deflation algorithm, it is impossible to randomly access/seek the contents of a compressed ZIP file entry. Thus, contents must always be streamed for compression/decompression and hence TrueZIP provides drop-in replacements for FileInputStream and FileOutputStream, but not for RandomAccessFile. Again, I will add this to an FAQ on a later version. On RAR: Unfortunately no. I don't think its in widespread use anymore - please correct me from wrong. With best regards, Christian |