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: aStream 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
(comment from inherited method)
write out all buffered data - ignored here, but added
to make internalStreams protocol compatible with externalStreams

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
(comment from inherited method)
put all elements of the argument, aCollection onto the receiver.
Answer the receiver.
This is only allowed, if the receiver supports writing.



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 01:49:00 GMT