many thanks! Bernd Eckenfels <[email protected]> 于2020年7月24日周五 下午3:21写道:
> 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 <[email protected]> > Gesendet: Friday, July 24, 2020 7:51:07 AM > An: [email protected] <[email protected]> > 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? >
