public abstract class ByteArrayZipEntryTransformer extends Object implements ZipEntryTransformer
| Constructor and Description |
|---|
ByteArrayZipEntryTransformer() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
preserveTimestamps()
Override to return true if needed.
|
void |
transform(InputStream in,
ZipEntry zipEntry,
ZipOutputStream out)
Copies and transforms the given entry into the ZIP output stream.
|
protected abstract byte[] |
transform(ZipEntry zipEntry,
byte[] input)
Transforms the given byte array into a new one.
|
protected abstract byte[] transform(ZipEntry zipEntry, byte[] input) throws IOException
IOExceptionpublic void transform(InputStream in, ZipEntry zipEntry, ZipOutputStream out) throws IOException
ZipEntryTransformertransform in interface ZipEntryTransformerIOExceptionprotected boolean preserveTimestamps()
Copyright © 2014 ZeroTurnaround. All rights reserved.