|
Class: ZipWriteStream (private in ZipArchive
This class is only visible from within
ZipArchive.
Object
|
+--Stream
|
+--PeekableStream
|
+--ZipArchive::AbstractZipStream
|
+--ZipArchive::ZipWriteStream
- Package:
- stx:libbasic2
- Category:
- System-Support-FileFormats
- Owner:
- ZipArchive
closing
-
close
-
finalize the data
usage example(s):
initialization
-
zipFileStream: something zipEntry: aZipEntry
-
queries
-
isReadable
-
return true, if reading is supported by the receiver.
This has to be redefined in concrete subclasses.
-
isWritable
-
return true, if writing is supported by the receiver.
This has to be redefined in concrete subclasses.
reading
-
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...
-
next
-
return the next element of the stream
- we do not know here how to do it, it must be redefined in subclass
-
peek
-
return the next element of the stream
- we do not know here how to do it, it must be redefined in subclass
writing
-
contents: aCollection
-
-
flush
-
-
nextPut: anObject
-
put the argument, anObject onto the receiver
- we do not know here how to do it, it must be redefined in subclass
-
nextPutAll: aCollection
-
|