@Internal protected ZipCompressor getCompressor() { switch (entryCompression) { case DEFLATED: return new DefaultZipCompressor(allowZip64, ZipOutputStream.DEFLATED); case STORED: return new DefaultZipCompressor(allowZip64, ZipOutputStream.STORED); default: throw new IllegalArgumentException(String.format("Unknown Compression type %s", entryCompression)); } }
public ZipCopyAction(File zipFile, ZipCompressor compressor, DocumentationRegistry documentationRegistry, String encoding) { this.zipFile = zipFile; this.compressor = compressor; this.documentationRegistry = documentationRegistry; this.encoding = encoding; }
public ZipCopyAction(File zipFile, ZipCompressor compressor, DocumentationRegistry documentationRegistry) { this.zipFile = zipFile; this.compressor = compressor; this.documentationRegistry = documentationRegistry; }
public JarjarCopyAction(@Nonnull File zipFile, @Nonnull ZipCompressor compressor, @Nonnull DocumentationRegistry documentationRegistry) { this.zipFile = zipFile; // this.compressor = compressor; this.documentationRegistry = documentationRegistry; }