| Constructor and Description |
|---|
ZipStripper()
Creates ZipStripper with default timestamp (
DEFAULT_ZIP_TIMESTAMP) for zip archive entries. |
ZipStripper(LocalDateTime zipDateTime,
boolean fixZipExternalFileAttributes)
Creates ZipStripper with specified configuration.
|
| Modifier and Type | Method and Description |
|---|---|
ZipStripper |
addFileStripper(String filename,
Stripper stripper)
Adds a stripper for a given file in the Zip.
|
void |
strip(File in,
File out)
Strips non-reproducible data.
|
public ZipStripper()
DEFAULT_ZIP_TIMESTAMP) for zip archive entries.public ZipStripper(LocalDateTime zipDateTime, boolean fixZipExternalFileAttributes)
zipDateTime - date and time for zip archive entries.fixZipExternalFileAttributes - true to be insensitive to umask setting.public ZipStripper addFileStripper(String filename, Stripper stripper)
filename - the name of the file in the Zip (regular expression).stripper - the stripper to apply on the file.public void strip(File in, File out) throws IOException
Stripperstrip in interface Stripperin - the input file.out - the stripped output file.IOException - if an I/O error occurs.Copyright © 2015–1970. All rights reserved.