Methods
Previous  Top  Next

Besides the here documented Methods, the XbZLibZip Class includes the following Protected Methods, which are not documented here, as they can only be used from within this Class (or a derived Class):

LoadDirectory()
-->
Update Array of Central Directory Records.
LoadCDEntry()
-->
Add single Central Directory Record.
UpdateLFDEntry()
-->
Update Local File Directory Record from Central Directory Record.
UpdateCDEntry()
-->
Update a single Central Directory Record.
CreateCDEntry()
-->
Create a single Central Directory Record from a suspected Local File Directory Record.
FindValidCDRecs()
-->
Search Zip File for all valid Central Directory Records.
FindValidLFRecs()
-->
Search Zip File for all valid Local File Directory Records.
FullFileName()
-->
Fully-qualified File Name with Drive/Path etc.
NormaliseFileName()
-->
Strip leading "Path" characters from File Name and change all "\" to "/".
CreateDirTree()
-->
Create Directory Tree (if necessary).
EventLoop()
-->
Built-In EventLoop.
CancelAdd()
-->
Default routine for Cancel of Adding Multiple Files.
CancelExtract()
-->
Default routine for Cancel of Extracting Multiple Files.
AutoFix()
-->
Default routine for Fixing of Zip File Corruptions.
 

For more information on those Methods, see the included source code!

List of Documented, Exported Methods:

New()
-->
Create an XbZLibZip Object.
Open()
-->
Open a Zip File.
IsOpen()
-->
Test if a Zip File is open.
Save()
-->
Save the Zip File.
Close()
-->
Close the Zip File.
Test()
-->
Test the Zip File for Errors.
Fix()
-->
Fix a corrupted Zip File.
AddDir()
-->
Add multiple Files (and/or sub-directories) to the Zip File.
AddFile()
-->
Add/Update a single File from Disk to the Zip File.
AddData()
-->
Add/Update a single (virtual) File Entry to the Zip File.
AddEntry()
-->
Add a single New (File) Entry to the Zip File.
ReplaceEntry()
-->
Update/Replace a single Existing (File) Entry in the Zip File.
DeleteEntry()
-->
Delete a single Existing (File) Entry from the Zip File.
TestEntry()
-->
Test a single (File) Entry of the Zip File.
FixEntry()
-->
Fix a single (File) Entry of the Zip File.
FindEntry()
-->
Find a specific (File) Entry in the Zip File.
ChangeFileName()
-->
Change a specific (File) Entry's Name.
ChangeFileDateTime()
-->
Change a specific (File) Entry's Date/Time.
ChangeFileAttrib()
-->
Change a specific (File) Entry's File Attributes.
ChangeFileComment()
-->
Change a specific (File) Entry's Comment/Note.
ExtractAll()
-->
Extract all (File) Entries to Disk.
Extract()
-->
Extract a single (File) Entry to Disk.
GetData()
-->
Get the (compressed) Data of a specific (File) Entry.
CopyFromZip()
-->
Copy a single (File) Entry from a different Zip File.
CopyToZip()
-->
Copy a single (File) Entry to a different Zip File.
Directory()
-->
Get (Directory) Array of all (File) Entries.
StatusList()
-->
Get Array of (Error) Status Codes for all (File) Entries.
SetLogFile()
-->
Set File Name for Log File.
StartLogging()
-->
Enable Logging to Log File.
StopLogging()
-->
Disable Logging to Log File.
Write2Log()
-->
Write Text to Log File.
SetDisplayObject()
-->
Set Display Object for Progress Output.
CloseDisplay()
-->
Disable Progress Output to Display Object.
Display()
-->
Show Progress Text with Display Object.