public class DeterministicZipBuilder extends Object implements Closeable
| Constructor and Description |
|---|
DeterministicZipBuilder(Path path) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(byte[] data,
String name,
int compressionLevel) |
void |
addEntry(InputStream data,
long dataLength,
long crc,
String name,
int compressionLevel,
boolean isDirectory) |
void |
close() |
public DeterministicZipBuilder(Path path) throws IOException
IOExceptionpublic void addEntry(InputStream data, long dataLength, long crc, String name, int compressionLevel, boolean isDirectory) throws IOException
IOExceptionpublic void addEntry(byte[] data,
String name,
int compressionLevel)
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOException