Yes, the VFS providers can be nested and the access is controlled by a layered URL, something like zip:file:/dir/1.zip!2.jpg can be resolved into a FileObject.
The second example here does the same for entries in a JAR file: https://commons.apache.org/proper/commons-vfs/api.html Gruss Bernd -- http://bernd.eckenfels.net ________________________________ Von: Xeno Amess <xenoam...@gmail.com> Gesendet: Friday, July 24, 2020 7:51:07 AM An: user@commons.apache.org <user@commons.apache.org> Betreff: [vfs] is there any way to treat a file in a zip-file to a FileObject? As title. for example, 2.jpg is in 1.zip, and what I want is a FileObject representing 2.jpg, but I don't want to extract it to a virtual file, what I want is read/write it directly treating it as a FileObject. Is there any ways in doing this? If not, should I implement one?