class Zip::Writers::FileEntry

Overview

Internal class used to store files for Writer instance.

You should not need to call this method directly; it is called automatically by Writer#add and Writer#add_file.

Included Modules

Defined in:

Constant Summary

FLAGS = GeneralFlags.flags(FOOTER, EFS)

Flags for local and central file header.

Class Method Summary

Instance methods inherited from class Zip::Writers::WriterEntry

to_s(dst_io) : UInt32 to_s, write_body(dst_io : IO) write_body, write_central(io : IO, version : Version = Version::DEFAULT) : UInt32 write_central, write_footer(io : IO, crc : UInt32, src_len : UInt32, dst_len : UInt32) : UInt32 write_footer

Class methods inherited from class Zip::Writers::WriterEntry

new(pos : UInt32, path : String, method : CompressionMethod = CompressionMethod::DEFLATE, time : Time = Time.now, comment : String = "", flags : GeneralFlags = GeneralFlags.flags, external : UInt32 = 0_u32) new

Class Method Detail

def self.new(pos : UInt32, path : String, io : IO, method : CompressionMethod = CompressionMethod::DEFLATE, time : Time = Time.now, comment : String = "") #

Create a new FileWriterEntry instance.

You should not need to call this method directly; it is called automatically by Writer#add and Writer#add_file.