Re: [Entityfs-users] Jar in Jar filesystem
Brought to you by:
kargu
|
From: Karl G. <kar...@en...> - 2011-03-27 10:50:41
|
Hi Jan, Sorry for the late answer. You are probably working on something completely different by now. Anyway. The reason for the FCTFileBacked requirement is that the file system implementation uses Java's JarFile object, which wants a File in its constructor. It would be possible to base the file system implementation on At4J's Zip implementation instead. That only requires that the Zip or Jar file supports the FCRandomAccess capability, i.e. that a RandomAccess object can be opened on it. I think, without having looked into it, that would be possible for most nested Jar or Zip files, since files that are already compressed will probably be stored as STORED (i.e. not compressed once more) in a Jar or Zip file. However, that would require the rewriting of the current Zip and Jar file system to use At4J instead. Regards /Karl |