Module | Archive::Zip::ExtraField |
In: |
lib/archive/zip/extra_field/extended_timestamp.rb
lib/archive/zip/extra_field/raw.rb lib/archive/zip/extra_field/unix.rb lib/archive/zip/extra_field.rb |
EXTRA_FIELDS | = | {} | A Hash used to map extra field header identifiers to extra field classes. |
Returns an instance of an extra field class by selecting the class using header_id and passing data to the class’ parse_central method. If there is no mapping from a given value of header_id to an extra field class, an instance of Archive::Zip::Entry::ExtraField::Raw is returned.
Returns an instance of an extra field class by selecting the class using header_id and passing data to the class’ parse_local method. If there is no mapping from a given value of header_id to an extra field class, an instance of Archive::Zip::Entry::ExtraField::Raw is returned.