ObjFW
Loading...
Searching...
No Matches
OFMutableZIPArchiveEntry.h
1/*
2 * Copyright (c) 2008-2024 Jonathan Schleifer <js@nil.im>
3 *
4 * All rights reserved.
5 *
6 * This file is part of ObjFW. It may be distributed under the terms of the
7 * Q Public License 1.0, which can be found in the file LICENSE.QPL included in
8 * the packaging of this file.
9 *
10 * Alternatively, it may be distributed under the terms of the GNU General
11 * Public License, either version 2 or 3, which can be found in the file
12 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
13 * file.
14 */
15
16#import "OFZIPArchiveEntry.h"
17#import "OFMutableArchiveEntry.h"
18
19OF_ASSUME_NONNULL_BEGIN
20
29{
30 OF_RESERVE_IVARS(OFMutableZIPArchiveEntry, 4)
31}
32
38@property OF_NULLABLE_PROPERTY (readwrite, copy, nonatomic) OFData *extraField;
47@property (readwrite, nonatomic)
57@property (readwrite, nonatomic)
72@property (readwrite, nonatomic)
73 OFZIPArchiveEntryCompressionMethod compressionMethod;
78@property (readwrite, nonatomic) uint32_t CRC32;
86@property (readwrite, nonatomic) uint32_t versionSpecificAttributes;
93@property (readwrite, nonatomic) uint16_t generalPurposeBitFlag;
101+ (instancetype)entryWithFileName: (OFString *)fileName;
102
110- (instancetype)initWithFileName: (OFString *)fileName;
111
116- (void)makeImmutable;
117@end
118
119OF_ASSUME_NONNULL_END
OFZIPArchiveEntryAttributeCompatibility
Attribute compatibility part of ZIP versions.
Definition OFZIPArchiveEntry.h:42
A class for storing arbitrary data in an array.
Definition OFData.h:42
A class which represents a mutable entry in the central directory of a ZIP archive.
Definition OFMutableZIPArchiveEntry.h:30
A class for handling strings.
Definition OFString.h:135
A class which represents an entry in the central directory of a ZIP archive.
Definition OFZIPArchiveEntry.h:107
A class which represents a mutable entry in an archive.
Definition OFMutableArchiveEntry.h:26