eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ZipArchive::ZipWriteStream':

Home

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

Class: ZipWriteStream (private in ZipArchive

This class is only visible from within ZipArchive.

Inheritance:

   Object
   |
   +--Stream
      |
      +--PeekableStream
         |
         +--ZipArchive::AbstractZipStream
            |
            +--ZipArchive::ZipWriteStream

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

Instance protocol:

closing
o  close
finalize the data

initialization
o  zipFileStream: something zipEntry: aZipEntry
(comment from inherited method)
raise an error: must be redefined in concrete subclass(es)

queries
o  isReadable
return true, if reading is supported by the receiver.
This has to be redefined in concrete subclasses.

o  isWritable
return true, if writing is supported by the receiver.
This has to be redefined in concrete subclasses.

reading
o  contents
return the entire contents of the stream.
For a readStream, that is the rest (i.e. upToEnd),
for a writeStream, that is the collected data.

o  next
return the next element of the stream

o  peek
return the next element of the stream

writing
o  contents: aCollection

o  flush

o  nextPut: anObject
put the argument, anObject onto the receiver
- we do not know here how to do it, it must be redefined in subclass

o  nextPutAll: aCollection



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sat, 20 Apr 2024 12:22:25 GMT