Class | Archive::Zip::ExtraField::Raw |
In: |
lib/archive/zip/extra_field/raw.rb
|
Parent: | Object |
Archive::Zip::Entry::ExtraField::Raw represents an unknown extra field. It is used to store extra fields the Archive::Zip library does not directly support.
Do not use this class directly. Define a new class which supports the extra field of interest directly instead.
central_record_data | [R] | Returns the data contained within this ExtraField. |
header_id | [R] | Returns the header ID for this ExtraField. |
local_record_data | [R] |
Simply stores header_id and data for later reproduction by dump_central or dump_local. central_record indicates that this field resides in the central file record for an entry when true. When false, it indicates that this field resides in the local file record for an entry.
Simply stores header_id and data for later reproduction by dump_central. This is essentially and alias for new.
Simply stores header_id and data for later reproduction by dump_local. This is essentially and alias for new.
This method signature is part of the interface contract expected by Archive::Zip::Entry for extra field objects.
Returns a String suitable to writing to a central file record in a ZIP archive file which contains the data for this object.
This method signature is part of the interface contract expected by Archive::Zip::Entry for extra field objects.
Returns a String suitable to writing to a local file record in a ZIP archive file which contains the data for this object.
This method signature is part of the interface contract expected by Archive::Zip::Entry for extra field objects.
Merges the attributes of other into this object and returns self.
Raises ArgumentError if other does not have the same header ID as this object.