|
| | ZipFile (Stream *file) |
| | Constructor for ZipFile class.
|
| |
| | ~ZipFile () override |
| | Destructor.
|
| |
| void | open () |
| | Opens the file for reading.
|
| |
| void | close () |
| | Closes the file.
|
| |
| const String & | comment () const |
| | Returns the comment of the ZIP file, or an empty string if no comment exists.
|
| |
| ZipEntry * | entry (const String &name) |
| | Returns the ZipEntry object if it exists, or nullptr if it does not exist.
|
| |
| LinkedListIterator | entryIterator () const |
| | Returns an iterator over the Zip entries.
|
| |
| size_t | entryCount () const |
| | Returns the number of Zip entries in the ZipFile.
|
| |
| Stream * | stream (const ZipEntry *entry) |
| | Returns the stream containing the uncompressed data of the entry. The caller of this method takes ownership of the stream and is responsible for cleaning it up. The stream is read-only and can only be used to read the data from a ZIP file. Writing to the stream is not supported.
|
| |
| | Object () noexcept |
| | Constructor.
|
| |
| virtual | ~Object () noexcept |
| | Destructor.
|
| |
| void | release () noexcept |
| | Decreases the reference counter and releases the object immediately when the reference counter becomes 0.
|
| |
| Object * | retain () noexcept |
| | Increases the reference counter of this object by 1.
|
| |
| Object * | autorelease () noexcept |
| | Same function as release(), but releases the object with a delay if the reference counter is 0. AutoreleasePool::drain() must be called in the to release the object.
|
| |
| int32 | referenceCount () const noexcept |
| | Returns the value of the reference counter.
|
| |
| virtual bool | equals (const Object *other) const |
| | Comparison of objects.
|
| |
| virtual String | displayName () const |
| | Returns the display name of the object intended to present to a user.
|
| |
| virtual void | printDiffInfo (DiffOperation operation, Object *other) const |
| | Output method for outputting the diff results for the diff algorithm.
|
| |
| void | setHighBit (bool status) noexcept |
| |
| bool | highBit () const noexcept |
| |
This class represents a ZIP file for reading ZIP data.