| Modifier and Type | Method and Description |
|---|---|
| public ZipExtraField | Returns: an instance of ZipExtraField, must not benullthe id for the extra field headerId)Creates an instance of ZipExtraField for the given id.
A good default implementation would be |
| public ZipExtraField | Returns: the filled field. Usually this is the same asfield but it could be a replacement extra field as well. Must not be null.the extra field instance to fill field, byte[] the array of extra field data data, int offset into data where this field's data starts off, int the length of this field's data len, boolean whether the extra field data stems from the local file header. If this is false then the data is part if the central directory header extra
data. local)Fills in the extra field data for a single extra field. |
| createExtraField | back to summary |
|---|---|
| public ZipExtraField createExtraField(ZipShort headerId) throws ZipException, InstantiationException, IllegalAccessException Creates an instance of ZipExtraField for the given id.
A good default implementation would be
| |
| fill | back to summary |
|---|---|
| public ZipExtraField fill(ZipExtraField field, byte[] data, int off, int len, boolean local) throws ZipException Fills in the extra field data for a single extra field.
A good default implementation would be
| |