-
Enhancement
-
Resolution: Duplicate
-
P5
-
None
-
5.0
-
x86
-
linux
A DESCRIPTION OF THE REQUEST :
I would like to open a set of zip'd sound bites from within a jar file. I would need a ZipFile constructor that accepts a ZipEntry of another zip'd file.
zf = new ZipFile("foo.jar");
ze = zf.getEntry("SoundBite.zip");
zf2 = new ZipFile( ze ); //<- No constructor for ZipFile(ZipEntry ze)!
ze2 = zf2.getEntry("Horn.wav");
is = zf2.getInputStream( ze2 );
JUSTIFICATION :
So far, the only way to do this process is to extract the internal zipfile, and temporarly store the file somewhere. This uses extra Time. It also uses extra storage. And then u have to still open the zip'd file of sound bites.
I would like to open a set of zip'd sound bites from within a jar file. I would need a ZipFile constructor that accepts a ZipEntry of another zip'd file.
zf = new ZipFile("foo.jar");
ze = zf.getEntry("SoundBite.zip");
zf2 = new ZipFile( ze ); //<- No constructor for ZipFile(ZipEntry ze)!
ze2 = zf2.getEntry("Horn.wav");
is = zf2.getInputStream( ze2 );
JUSTIFICATION :
So far, the only way to do this process is to extract the internal zipfile, and temporarly store the file somewhere. This uses extra Time. It also uses extra storage. And then u have to still open the zip'd file of sound bites.
- duplicates
-
JDK-4648386 Simplify deployment and versioning by embedding JAR files within each other
-
- Closed
-