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.*; | |
import java.net.*; | |
import java.nio.file.*; | |
import java.util.*; | |
import java.util.stream.*; | |
import static java.util.stream.Collectors.*; | |
/** | |
* This class creates zip archives. Instead of directly using {@link java.util.zip.ZipOutputStream}, | |
* this implementation uses the jar {@link FileSystem} available since Java 1.7.<p> |