public static void main(String[] args) throws Exception {
        if (args.length > 0) {
            for (String file : args) {
                System.out.println("Files in " + file + " file:");
                listZipEntries(file);
            }
        }
    }
Example code listing from Chapter 1. Lists a zip file's entries using JDK's
standard APIs.
tika-example/src/main/java/org/apache/tika/example/ZipListFiles.java