eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Archiver::ZipArchive':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: ZipArchive (private in Archiver

This class is only visible from within Archiver.

Inheritance:

   Object
   |
   +--Archiver
      |
      +--Archiver::MultiFileArchive
         |
         +--Archiver::ZipArchive

Package:
stx:libbasic2
Category:
System-Support-FileFormats
Owner:
Archiver

Class protocol:

command strings
o  unzipCommand
self unzipCommand

o  zipCommand

queries
o  canAddFiles

o  canRemoveFiles

o  canViewFile

o  hasLastLine

o  hasTitleLine


Instance protocol:

actions
o  extractFiles: colOfFilesOrNilForAll to: aDirectory
called both to really extract,
and to extract to a temporary file to view it

o  extractFilesUsingBuiltinZipArchiver: colOfArchivItemsOrNilForAll from: zipFilename to: aDirectory
called both to really extract,
and to extract to a temporary file to view it

o  listFiles: aColOfFiles
no list command configured/found.

o  listFilesUsingBuiltinZipArchiverFrom: fn
generate a line of the form:

columns
o  columns
colums id/readSelector words to read

o  isValidOutputLine: line
(comment from inherited method)
return true, if line contains a valid list-files output line

command strings
o  getCommandToAdd: aColOfFiles toArchive: archiveFile
archiveFile exists ifFalse:[^ nil].

o  getCommandToExtractFiles: aColOfFiles intoDirectory: dir
-o UnzipOverwriteExistingFilesOption

o  getCommandToListFiles: aColOfFiles
-Z ZipInfoOption

o  getCommandToRemoveFiles: aColOfFiles



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 19 May 2024 23:29:39 GMT