zip4j
zip4j copied to clipboard
A Java library for zip files and streams
I am using version 2.11.5 of net.lingala.zip4j:zip4j to unzip a ZIP file. This ZIP file was compressed using the WinRAR software on the Windows 10 system, so its default encoding...
I got a zip file from an user ([context](https://github.com/CatimaLoyalty/Android/issues/2096)) which `file` on Linux describes as: "Zip multi-volume archive data, at least PKZIP v2.50 to extract". Using `zipInputStream.getNextEntry()` on the `ZipInputStream`...
    目录中带𬌗及文件名带𬌗字,导致解压出来后乱码,其他的目录正常
I've been using the zip4j library successfully and I'm grateful for it. However, I'm concerned because the last commit was made a year ago. I'm wondering if zip4j is still...
This adds a module info to the final jar using moditect. This one file will be put under `META-INF/versions/9` and so won't be picked up by android. Everything else will...
The getFileHeaders() method in the code below results in an [UnbufferedIoViolation](https://developer.android.com/reference/android/os/strictmode/UnbufferedIoViolation): ```java try (ZipFile zipFile = ZipFileHelper.createZipFile(file)) { zipFile.setCharset(charset); List fileHeaders = zipFile.getFileHeaders(); for (FileHeader fileHeader : fileHeaders) { ZipFileEntryWrapper...
Apache commons-compress allow access to the file permissions, create time and the last access time for unencrypted zip files as seen in their [Javadocs](https://javadoc.io/doc/org.apache.commons/commons-compress/latest/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.html) for methods [getUnixMode](https://javadoc.io/static/org.apache.commons/commons-compress/1.26.2/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.html#getUnixMode()), [getCreationTime](https://docs.oracle.com/javase/8/docs/api/java/util/zip/ZipEntry.html#getCreationTime--) and method...
The code that follows, and sorry it's in Kotlin, produces a "Wrong Password!" error. val password = runProps.getProperty("ZipPassword").trim().toCharArray() ZipFile(zipFileName).use { zipFile -> val zipFileHeaders = zipFile.fileHeaders val inputStream = FileInputStream(zipFileName.toString())...
Hello Sorry, English is not good. my zip4j version is 2.11.5, OS is windows 11, jdk 1.8,here is the code ``` ZipParameters zipParameters = new ZipParameters(); zipParameters.setRootFolderNameInZip("lib"); ZipFile zipFile =...
I have added `implementation 'net.lingala.zip4j:zip4j:2.11.5'` in dependency in build.gradle file. Then when I rebuild the project an error occured: > Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. >...