archive « Zip « Java I/O Q&A





1. How to read file from ZIP archive    stackoverflow.com

I am facing a problem where i need to convery the zipentry into a file. What happens is that I have a zip file full of csv files. I need to ...

2. creating zip archive in java    stackoverflow.com

I have one file created by 7zip program. I used deflate method to compressed it. Now I want to create the same archive (with the same MD5sum) in java. When I ...

3. Java Write Xml Files directly to Zip Archive    stackoverflow.com

What is the proper way to write a list of xml files using JAXB directly to a zip archive without using a 3rd party lib, i seem to be having some ...

4. Adding files to existing zip archive    coderanch.com

Hullo I want to add a file to already existing zip archive but it always replaces the files in zip with new ones. I am opening file stream as appendable but stil it is not working. I am using the following code FileOutputStream fileOutStream = new FileOutputStream(archiveName, true); ZipOutputStream zipOutStream = new ZipOutputStream(fileOutStream); FileInputStream fis = new FileInputStream(fileName); ZipEntry entry = ...

5. Zip file archive comment with extended ASCII characters    coderanch.com

I am trying to figure out how to write the registered trademark '' and copyright character '' to the archive comment for a zip file. This is not a comment for the ZipEntry, although the solution may be similar; but, rather, the whole zip file comment. I have tried a lot of different things; but, at the end of the day, ...

6. Read ZIP files where archive and/or contained files are larger than 4gig?    forums.oracle.com

By using the enumeration instead of the generics I can at least trap and handle in some logical way any cases where the file names can't be converted. I'll post an example of the code that worked and the code that didn't as replies to this message because it's too long if I put it here. Also, I found that using ...

7. Can I send and manipulate zip archive directly on memory ?    forums.oracle.com

Hi, Recently I am dealing with zip package of java. I wonder if I could send a zip archive to memory and modify one of the zipentry directly there without writing or reading to the file on disk. Thank u song 1) Please spell words out completely. That leads to less confusion and less confusion means you might get help sooner. ...

8. How can I add comment into Zip archive    forums.oracle.com

9. Compressing several large (50Mb+) files into a ZIP archive, ErrorHeapsize.    forums.oracle.com

Hello community! I am working on an application where a user can order an archive for download, containing files the user has selected. What I need is a ZIP utility which can compress files with a reasonable memory usage. That is, if a user selects 500-1000 Mb, it will not consume 1Gb or more of memory. (The individual files are between ...





10. modify ZIP archive    forums.oracle.com

11. How to Unzip a Mac OS X Archive in Java    forums.oracle.com

I have a JAR with install pieces that I'm unzipping during installation. Simple enough. Except that one of them is a little OS X utility app & the app doesn't work. It seems that OS X includes "extras" under the file "MACOSX__", which is visible in the archive (causes non-Mac uses no end of annoyance). Unzipping the archive in the Mac's ...