Example usage for Java org.apache.commons.compress.archivers.zip ExtraFieldUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
ZipExtraField | createExtraField(ZipShort headerId) Create an instance of the approriate ExtraField, falls back to UnrecognizedExtraField UnrecognizedExtraField . |
byte[] | mergeLocalFileDataData(ZipExtraField[] data) Merges the local file data fields of the given ZipExtraFields. |
ZipExtraField[] | parse(byte[] data, boolean local, UnparseableExtraField onUnparseableData) Split the array into ExtraFields and populate them with the given data. |
ZipExtraField[] | parse(byte[] data) Split the array into ExtraFields and populate them with the given data as local file data, throwing an exception if the data cannot be parsed. |
void | register(Class c) Register a ZipExtraField implementation. |