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
usage example(s):
close ZipStream

initialization
o  zipFileStream: something zipEntry: aZipEntry

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. As we do not know here,
what we are, this is the responsibility of a subclass...

o  next
return the next element of the stream
- we do not know here how to do it, it must be redefined in subclass

o  peek
return the next element of the stream
- we do not know here how to do it, it must be redefined in subclass

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.1.0.0; WebServer 1.663 at exept.de:8081; Mon, 04 Aug 2025 14:33:01 GMT