createExtraField

abstract fun createExtraField(headerId: ZipShort): ZipExtraField

Creates an instance of ZipExtraField for the given id.

A good default implementation would be createExtraField.

Return

an instance of ZipExtraField, must not be null

Parameters

headerId

the id for the extra field

Throws

if an error occurs

if unable to instantiate the class

if not allowed to instantiate the class