Class ResourceAlignmentExtraField

java.lang.Object
org.apache.commons.compress.archivers.zip.ResourceAlignmentExtraField
All Implemented Interfaces:
ZipExtraField

public class ResourceAlignmentExtraField extends Object implements ZipExtraField
An extra field who's sole purpose is to align and pad the local file header so that the entry's data starts at a certain position.

The padding content of the padding is ignored and not retained when reading a padding field.

This enables Commons Compress to create "aligned" archives similar to Android's zipalign command line tool.

Since:
1.14
See Also: