*/
public void transform(InputStream in, ZipEntry zipEntry, ZipOutputStream out) throws IOException {
byte[] bytes = IOUtils.toByteArray(in);
bytes = transform(zipEntry, bytes);
ByteSource source;
if (preserveTimestamps()) {
source = new ByteSource(zipEntry.getName(), bytes, zipEntry.getTime());
}
else {
source = new ByteSource(zipEntry.getName(), bytes);
}
ZipEntrySourceZipEntryTransformer.addEntry(source, out);
}