@@ -117,13 +117,30 @@ * * See the ZIP specification for details. */ @property (readwrite, nonatomic) uint16_t generalPurposeBitFlag; +/** + * @brief Creates a new OFMutableZIPArchiveEntry with the specified file name. + * + * @param fileName The file name for the OFZIPArchiveEntry + * @return A new, autoreleased OFZIPArchiveEntry + */ ++ (instancetype)entryWithFileName: (OFString *)fileName; + +/** + * @brief Initializes an already allocated OFMutableZIPArchiveEntry with the + * specified file name. + * + * @param fileName The file name for the OFZIPArchiveEntry + * @return An initialized OFZIPArchiveEntry + */ +- (instancetype)initWithFileName: (OFString *)fileName; + /** * @brief Converts the OFMutableZIPArchiveEntry to an immutable * OFZIPArchiveEntry. */ - (void)makeImmutable; @end OF_ASSUME_NONNULL_END