Module Archive::Zip::ExtraField
In: lib/archive/zip/extra_field.rb
lib/archive/zip/extra_field/raw.rb
lib/archive/zip/extra_field/extended_timestamp.rb
lib/archive/zip/extra_field/unix.rb

Methods

Classes and Modules

Class Archive::Zip::ExtraField::ExtendedTimestamp
Class Archive::Zip::ExtraField::Raw
Class Archive::Zip::ExtraField::Unix

Constants

EXTRA_FIELDS = {}   A Hash used to map extra field header identifiers to extra field classes.

Public Class methods

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.

[Validate]