Home
Assembly: nZip (in nZip.dll) Version: 1.0.0.0 (1.0.0.0)
an easy to use zipper wrapper
Namespace:
nToolsAssembly: nZip (in nZip.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class nZip
Public Class nZip
public ref class nZip
Members
| All Members | Constructors | Methods | Events |
| Member | Description | |
|---|---|---|
| nZip()()() |
empty constructor
| |
| nZip(String, String) |
constructor that will open an already existing zipFile for later extracting or adding to the zipFile
| |
| addFiles(array<String>[]()[]) |
add file(s) to list of files to be zipped
| |
| addFilesToZip(String, array<String>[]()[]) |
adds file(s) to a zip file that currently already exists
| |
| Equals(Object) | (Inherited from Object.) | |
| extract(String, String) |
extract the files from a zip to the supplied location
| |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| logCurrZip(String, Int32, Int32) |
function that initializes the event if something is subscribed to it
| |
| logStartZip(Int32) |
this is the function called from within your class when the zipping/extracting/adding takes place.
it will then initialize the event.
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| OnZipping(String, Double, Double) |
function that calls the event
| |
| OnZipStart(Int32) |
this is the function that funs the delegate/event if the event has a subscriber
| |
| openZip(String) |
opens a zip file for extracting or adding files
| |
| percent(Double, Double, Int32) | ||
| percent(Int32, Int32, Int32) |
get the percent completed
| |
| setComm(String) |
WILL(in future) set the comment of the zip file if it is set or initialized properly
| |
| setFile(String) |
sets the zipFile to be opened/extracted
| |
| setNewFile(String) |
set the zip for a non existing file
| |
| ToString()()() | (Inherited from Object.) | |
| zip()()() |
zips the files already registered
| |
| zip(String, array<String>[]()[]) |
zip any number of files to a desired location (will append to list of files
to be added if there are already some)
| |
| zipping | subscribe your function to this event if you wish to know when a file is finished zipping, extracting, or adding to a zipFile: . //where funcName is declared funcName(string currFile, int currCount, int maxCount) zipping += new zipHandler(funcName); | |
| zipStart |
subscribe to this event if you wish to know when a zip,extract or addition starts:
. //where funcName accepts one int parameter(maxCount) zipStart += new zipStartHandler(funcName); |