Entry for a ZIP file.
More...
|
| | ZipEntry (const String &name) |
| | Constructor for the ZipEntry class.
|
| |
| const String & | name () const |
| | Returns the name of the entry.
|
| |
| void | setUncompressedSize (uint32 size) |
| | Set the size of the uncompressed entry.
|
| |
| uint32 | uncompressedSize () const |
| | Returns the size of the uncompressed entry.
|
| |
| bool | isDirectory () const |
| | Returns true, if the entry is a directory. An entry is recognized as a directory, if the last character of the name is '/'.
|
| |
| | 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 |
| |
◆ ZipEntry()
| jm::ZipEntry::ZipEntry |
( |
const String & |
name | ) |
|
|
explicit |
Constructor for the ZipEntry class.
- Parameters
-
| name | The name of the entry. |
◆ isDirectory()
| bool jm::ZipEntry::isDirectory |
( |
| ) |
const |
Returns true, if the entry is a directory. An entry is recognized as a directory, if the last character of the name is '/'.
◆ name()
| const String & jm::ZipEntry::name |
( |
| ) |
const |
Returns the name of the entry.
◆ setUncompressedSize()
| void jm::ZipEntry::setUncompressedSize |
( |
uint32 |
size | ) |
|
Set the size of the uncompressed entry.
- Parameters
-
| size | The size of the uncompressed entry in bytes. |
◆ uncompressedSize()
| uint32 jm::ZipEntry::uncompressedSize |
( |
| ) |
const |
Returns the size of the uncompressed entry.
◆ ZipFile
◆ ZipOutputFile