VAStGoodies.com
Your VA Smalltalk OSS repository. Powered by VA Smalltalk with Seaside.

Extensions to the MZZipUnzipApp.

Extensions to the MZZipUnzipApp. These extensions add methods to zip files
from the disk to a zip file and to unzip a zipped file to files on the disk. The
unzipped files will have the date/time of the original pre-zipped files.

The vast majority of the functionality of the original extensions has been added to VA Smalltalk v8.6.2.
There is one class side method left, #getZippedFilesInfo:. I'm hopeful it will be added in some way.

The following class side methods are gone but can be replaced with calls like this:

change:
MZZipArchive unZip: zipName to: aPath
to:
(MZZipArchive openRead: zipName) unZipFiles: #() to: aPath


change:
MZZipArchive unZipFiles: fileNameArray from: aZipFile to: aPath
to:
(MZZipArchive openRead: zipName) unZipFiles: fileNameArray to: aPath


change:
MZZipArchive zipFile: fullFileName into: zipFileName
to:
(MZZipArchive openWrite: zipFileName) zipFiles: (Array with: fullFileName) add: true


change:
MZZipArchive zipFile: fullFileName to: zipFileName
to:
(MZZipArchive openWrite: zipFileName) zipFiles: (Array with: fullFileName)


change:
MZZipArchive zipFiles: fullFileNameArray into: zipFileName
to:
(MZZipArchive openWrite: zipFileName) zipFiles: fullFileNameArray add: true


change:
MZZipArchive zipFiles: fullFileNameArray into: zipFileName
to:
(MZZipArchive openWrite: zipFileName) zipFiles: fullFileNameArray


change:
zipFilesTest: fullFileNameArray into: zipFileName add: add append: append
to:
(MZZipArchive openWrite: zipFileName) zipFiles: fullFileNameArray add: add append: append
Licence:
MIT
Licence URL:http://www.opensource.org/licenses/mit-license.php
Email:Lou@Keystone-Software.com
Developers:Louis LaBrunda
Tags:unzip zip
Configuration Maps:KscMZZipExtensions