1. Randomly accessing a compressed file without using ZipFile (since ZipFile has a major bug) stackoverflow.comI know, I know, who would want to compress or uncompressed large files in java. Completely unreasonable. For the moment suspend disbelief and assume I have a good reason for uncompressing ... |
2. extracting contents of ZipFile entries when read from byte[] (Java) stackoverflow.comI have a zip file whose contents are presented as byte[] but the original file object is not accessible. I want to read the contents of each of the entries. I ... |
3. Getting document.xml from a docx file using ZipInputStream stackoverflow.comI have a inputStream of a docx file and I need to get hold of the document.xml which lies inside the docx. I am using ZipInputStream to read my stream and ... |
4. ZipInputStream Throws Illegalargument exception for diacritics stackoverflow.comIf I run the below program with the zip file which has some files with diacritic characters (e.g 1-2GF-969##JÖN.pdf) , I get IllegalArgumentException. My application has to support all languages. So, we ... |
5. Why ZipInputStream can't read the output of ZipOutputStream? stackoverflow.comI'm stuck with this junit test:
|
6. Java ZipInputStream closes after reading ZipEntry of image stackoverflow.comWe are trying to modify one of the XML files in 2007 MS Excel. For this, the xlsx file is being unzipped using Java's ZipInputStream and then copied to a new ... |
7. unzip archive with subfolders in java? stackoverflow.comI am trying to unzip an archive (test.zip) containing a subfolder with some png images:
|
8. ZipInputStream getNextEntry is null when extracting .zip files stackoverflow.comI'm trying to extract .zip files and I'm using this code:
|
9. help for java.util.zip.ZipInputStream coderanch.com |
10. Problem with ZipInputStream ......... coderanch.comHi friends, import java.io.*; import java.util.zip.*; public class ReadCompressedPrimes { public static void main(String[] args) { try { FormatWriter out = new FormatWriter( new BufferedWriter( new FileWrite(FileDescriptor.out))); String dirName = "C:/data/mukti/java1"; String zipName = "NewPrimes.zip"; File myPrimeZip = new File(dirName,zipName); ZipOutputStream myZipFile =new ZipOutputStream (new FileOutputStream(myPrimeZip)); ZipEntry myZipEntry = myZipFile.getNextEntry(); DataOutputStream primesIn = new DataOutputStream( new BufferedOutputStream(myZipFile)); long [] primes = ... |
11. can't zip my files using zipentry and zipinputstream coderanch.comhere is the source code for my filezipper class to zip files. but it runs till s.o.p(" line48")and doesn't continue.I get my frame along with the filechoser window .Even the file zipfile.zip is created but remains a null file of 0 bytes.any one to help me. import javax.swing.*; import java.util.zip.*; import java.io.*; import java.awt.*; import java.awt.event.*; public class filezipper extends JFrame ... |
12. ZipInputStream problem coderanch.com |
13. ZipInputStream coderanch.com |
14. about to the ZipInputStream and JPG coderanch.comHi all Today I tried to use ZipInputStream and ZipOutputStream to write a program like Winzip. But when I decompressed a .jpg file from the zip file into a common file, the problem appeared. The image file is totally changed. My method is: zin = new ZipInputStream(new FileInputStream(zipFileName)); while ((entry = zin.getNextEntry()) != null) { if (entry.getName().contains("hello.jpg")) { String fileName = ... |
15. Auditing ZipInputStream coderanch.comHi, ranchers! I am trying to track how many bytes are actually read from a remote zip file, but a mistery lies before me. Here is the scenario: I have URLConnection to a zip file from which I obtain an InputStream. I create a ZipInputStream from that. In order to audit the reads I wrap the InputStream (the one from the ... |
16. ZipInputStream sometimes behaves as expected sometimes not coderanch.comI want to get InputStream-objects (to be passed to another class) from a zip-file, which consists of xml-files. The problem is that sometimes I can get it correctly, but sometimes I got FileNotFoundException. It seems to depend on the zip-file, maybe those are extracted into temp, or something behind the scenes.. here's the relevant code: .. ZipInputStream zippi=new ZipInputStream(new FileInputStream(zipfile)); ZipEntry ... |
17. ZipInputStream problem coderanch.comDear all, I'm encountering something I find very strange when dealing with ZipInputStream. I compress several files into a zip and store its checksum. When the zip is read I control said checksum. The thing is, depending which files I compress, on decompression sometimes the checksum does not match. I found the cause for this, but don't understand it. I set ... |
18. ZipInputStream Throws Illegalargument exception for diacritics coderanch.comHi If I run the below program with the zip file which has some files with diacritic characters (e.g 1-2GF-969##JN.pdf) , I get IllegalArgumentException. My application has to support all languages. So, we set encoding to UTF-8 All languages work fine. But the problem comes when reading diacritic characters. I tried using alternatives to zip input stream, like arcmexer and apache ... |
19. zip.ZipInputStream cannot extract files with Chinese chars in name forums.oracle.comissue:java.util.zip.ZipInputStream cannot extract files with Chinese chars in name Category java:classes_util_jarzip Plz let me know 1 of the ways which I can solve this issue. 1)if someone has JAVA DCOMPILER plz send the SOURCE Code for the ZipInputStream.class to me..I need to edit it using 1 of the solutions as provided below which I googled. 2)If there is an alternate or ... |
20. Can't properly unzip archive when use ZipInputStream forums.oracle.com |