[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-user
Subject:    Re: [vfs] is there any way to treat a file in a zip-file to a FileObject?
From:       Xeno Amess <xenoamess () gmail ! com>
Date:       2020-09-01 8:05:36
Message-ID: CAFF4x5J3ApUdDUyz5MwR_G6yZUtrk27s7AQAbtw62wkNcAqMLA () mail ! gmail ! com
[Download RAW message or body]


many thanks!

Bernd Eckenfels <ecki@zusammenkunft.net> =E4=BA=8E2020=E5=B9=B47=E6=9C=8824=
=E6=97=A5=E5=91=A8=E4=BA=94 =E4=B8=8B=E5=8D=883:21=E5=86=99=E9=81=93=EF=BC=
=9A

> 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 int=
o
> 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 <xenoamess@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, wha=
t
> 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?
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic