@@ -75,14 +75,22 @@ * @param component The path component to append * @return A new, autoreleased OFString with the path component appended */ - (OFString *)stringByAppendingPathComponent: (OFString *)component; +/** + * @brief Creates a new string by appending a path extension. + * + * @param extension The extension to append + * @return A new, autoreleased OFString with the path extension appended + */ +- (OFString *)stringByAppendingPathExtension: (OFString *)extension; + - (bool)of_isDirectoryPath; - (OFString *)of_pathToURLPathWithURLEncodedHost: (OFString *__autoreleasing _Nullable *_Nonnull)URLEncodedHost; - (OFString *)of_URLPathToPathWithURLEncodedHost: (nullable OFString *)URLEncodedHost; - (OFString *)of_pathComponentToURLPathComponent; @end OF_ASSUME_NONNULL_END