Created
September 18, 2022 13:23
-
-
Save laughingclouds/95c5577984caf03303f7d2725f9051fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import java.util.Iterator; | |
import java.util.zip.*; | |
/** | |
* Main | |
*/ | |
public class Main { | |
public static void main(String[] args) throws IOException { | |
ZipFile zf = new ZipFile("readDis.epub"); | |
Iterator<? extends ZipEntry> zfI = zf.entries().asIterator(); | |
while (zfI.hasNext()) { | |
System.out.println(zfI.next().toString()); | |
// ZipEntry zfE = zfI.next(); | |
} | |
zf.getEntry("container.xml"); | |
zf.close(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment