C# Class lw_common.zip_util

Show file Open project: jtorjo/logwizard

Public Methods

Method Description
create_zip ( string file_name, string>.Dictionary files ) : bool
dump_file_names_in_zip ( string file_name ) : void
enum_file_names_and_sizes_in_zip ( string file_name ) : long>>.List
enum_file_names_in_zip ( string file_name ) : List
try_extract_file_names_in_zip ( string file_name, string extract_dir, string>.Dictionary extract_files ) : bool
zip_friendly_path_name ( string name ) : string

Private Methods

Method Description
CompressFolder ( string path, ZipOutputStream zipStream, int folderOffset ) : void
CreateZip ( string outPathname, string folderName ) : void

Method Details

create_zip() public static method

public static create_zip ( string file_name, string>.Dictionary files ) : bool
file_name string
files string>.Dictionary
return bool

dump_file_names_in_zip() public static method

public static dump_file_names_in_zip ( string file_name ) : void
file_name string
return void

enum_file_names_and_sizes_in_zip() public static method

public static enum_file_names_and_sizes_in_zip ( string file_name ) : long>>.List
file_name string
return long>>.List

enum_file_names_in_zip() public static method

public static enum_file_names_in_zip ( string file_name ) : List
file_name string
return List

try_extract_file_names_in_zip() public static method

public static try_extract_file_names_in_zip ( string file_name, string extract_dir, string>.Dictionary extract_files ) : bool
file_name string
extract_dir string
extract_files string>.Dictionary
return bool

zip_friendly_path_name() public static method

public static zip_friendly_path_name ( string name ) : string
name string
return string