[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Packaging (was Re: Interoperability)
> The problem is > that ZIP is non-streaming -- you have to download the entire zip file > before you can start processing it, since the directory information is > at the end. Each member in the ZIP file has a header, so you can read the members without reading the header first. The JDK has a class that reads a ZIP file from a stream: http://java.sun.com/j2se/1.3/docs/api/java/util/zip/ZipInputStream.html Also, HTTP 1.1 has byte-ranges, which means, at least using HTTP 1.1, you don't have to download the entire zip file even if you need to get the directory. James
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|