public interface UnparseableExtraFieldBehavior
Modifier and Type | Method and Description |
---|---|
ZipExtraField |
onUnparseableExtraField(byte[] data,
int off,
int len,
boolean local,
int claimedLength)
Decides what to do with extra field data that doesn't follow the recommended pattern.
|
ZipExtraField onUnparseableExtraField(byte[] data, int off, int len, boolean local, int claimedLength) throws java.util.zip.ZipException
data
- the array of extra field dataoff
- offset into data where the unparseable data startslen
- the length of unparseable datalocal
- 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.claimedLength
- length of the extra field claimed by the
third and forth byte if it did follow the recommended patternjava.util.zip.ZipException
- if an error occurs or unparseable extra
fields must not be acceptedCopyright © 2010 - 2023 Adobe. All Rights Reserved