eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Archiver':

Home

everywhere
www.exept.de
for:
[back]

Class: Archiver


Inheritance:

   Object
   |
   +--Archiver
      |
      +--Archiver::CompressedFile
      |
      +--Archiver::CompressedTarArchive
      |
      +--Archiver::MultiFileArchive

Package:
stx:libbasic2
Category:
System-Support-FileFormats
Version:
rev: 1.34 date: 2009/01/13 21:03:16
user: cg
file: Archiver.st directory: libbasic2
module: stx stc-classLibrary: libbasic2

Class protocol:

classAccess
o  arArchive

o  gzipArchive

o  tarArchive

o  tarGZipArchive

o  zipArchive

columns
o  columns

** This method raises an error - it must be redefined in concrete classes **

command strings
o  stringWithQuotedFileBaseNames: aColOfFiles

commandOutputReader
o  commandOutputParser

o  commandOutputParserClass

initialization
o  initialize

instance creation
o  classForMimeType: aMimeType fileName: aFileNameOrNil

o  newFor: aFilename

o  with: aFilename

queries
o  canAddFiles

o  canDragnDrop

o  canExtractFiles

o  canRemoveFiles

o  canViewFile

o  hasTitleLine


Instance protocol:

accessing
o  errorStream
return the value of the instance variable 'errorStream' (automatically generated)

o  errorStream: something
set the value of the instance variable 'errorStream' (automatically generated)

o  fileName
return the value of the instance variable 'fileName' (automatically generated)

o  fileName: something
set the value of the instance variable 'fileName' (automatically generated)

o  outStream
return the value of the instance variable 'outStream' (automatically generated)

o  outStream: something
set the value of the instance variable 'outStream' (automatically generated)

o  process
return the value of the instance variable 'process' (automatically generated)

o  process: something
set the value of the instance variable 'process' (automatically generated)

o  synchron
return the value of the instance variable 'synchron' (automatically generated)

o  synchron: something
set the value of the instance variable 'synchron' (automatically generated)

o  temporaryDirectory
return the value of the instance variable 'temporaryDirectory' (automatically generated)

actions
o  extractFilesTo: aDirectory

o  listFiles: aColOfFiles

o  removeFilesFromArchive: aColOfFiles

** This method raises an error - it must be redefined in concrete classes **

actions-basic
o  addFilesToArchive: colOfFiles

** This method raises an error - it must be redefined in concrete classes **

o  extractFiles: aColOfFilesOrNil to: aDirectory

** This method raises an error - it must be redefined in concrete classes **

actions-private
o  removeTemporaryDirectory

o  stopProcess

command execution
o  executeCommand: cmd directory: aDirectory

o  isValidOutputLine: line
return true, if line contains a valid list-files output line

** This method raises an error - it must be redefined in concrete classes **

o  listFilesReader

o  outStream: aOutStream errorStream: aErrorStream

o  outStream: aOutStream errorStream: aErrorStream synchron: aBoolean

command strings
o  addDoubleQuotedFilenames: collectionOfFilenames toStream: aStream

initialization & release
o  release


Private classes:

    ArArchive
    ArchiverOutputParser
    BZ2Compressed
    CompressedFile
    CompressedTarArchive
    GZipCompressed
    MultiFileArchive
    TarArchive
    TarBZ2Archive
    TarGZipArchive
    ZipArchive


ST/X 6.1.1; WebServer 1.620 at exept:8081; Thu, 17 May 2012 15:53:17 GMT