24OF_ASSUME_NONNULL_BEGIN
26@class OFArray OF_GENERIC(ObjectType);
48 didOpenItemAtIRI: (
OFIRI *)IRI
49 stream: (nullable OF_KINDOF(
OFStream *))stream
50 exception: (nullable
id)exception;
80+ (bool)registerClass: (Class)class_ forScheme: (
OFString *)scheme;
140+ (void)asyncOpenItemAtIRI: (
OFIRI *)IRI
142 delegate: (
id <OFIRIHandlerDelegate>)delegate;
144- (instancetype)
init OF_UNAVAILABLE;
152- (instancetype)initWithScheme: (
OFString *)scheme OF_DESIGNATED_INITIALIZER;
205- (void)asyncOpenItemAtIRI: (
OFIRI *)IRI
207 delegate: (
id <OFIRIHandlerDelegate>)delegate;
247- (bool)fileExistsAtIRI: (
OFIRI *)IRI;
257- (bool)directoryExistsAtIRI: (
OFIRI *)IRI;
267- (void)createDirectoryAtIRI: (
OFIRI *)IRI;
294- (void)removeItemAtIRI: (
OFIRI *)IRI;
312- (void)linkItemAtIRI: (
OFIRI *)source toIRI: (
OFIRI *)destination;
331- (void)createSymbolicLinkAtIRI: (
OFIRI *)IRI
332 withDestinationPath: (
OFString *)target;
354- (bool)copyItemAtIRI: (
OFIRI *)source toIRI: (
OFIRI *)destination;
375- (bool)moveItemAtIRI: (
OFIRI *)source toIRI: (
OFIRI *)destination;
398 ofItemAtIRI: (
OFIRI *)IRI
399 OF_DEPRECATED(ObjFW, 1, 1,
400 "Use -[getExtendedAttributeData:andType:forName:ofItemAtIRI:] instead");
423- (void)getExtendedAttributeData: (
OFData *_Nonnull *_Nonnull)data
424 andType: (
id _Nullable *_Nullable)type
426 ofItemAtIRI: (
OFIRI *)IRI;
447- (void)setExtendedAttributeData: (
OFData *)data
449 ofItemAtIRI: (
OFIRI *)IRI
450 OF_DEPRECATED(ObjFW, 1, 1,
451 "Use -[setExtendedAttributeData:andType:forName:ofItemAtIRI:] instead");
475- (void)setExtendedAttributeData: (
OFData *)data
476 andType: (nullable
id)type
478 ofItemAtIRI: (
OFIRI *)IRI;
495- (void)removeExtendedAttributeForName: (
OFString *)name
496 ofItemAtIRI: (
OFIRI *)IRI;
OFDictionary * OFFileAttributes
A dictionary mapping keys of type OFFileAttributeKey to their attribute values.
Definition OFFileManager.h:160
An abstract class for storing objects in an array.
Definition OFArray.h:110
A class for storing arbitrary data in an array.
Definition OFData.h:46
A class for storing, accessing and comparing dates.
Definition OFDate.h:34
A handler for an IRI scheme.
Definition OFIRIHandler.h:59
OFString * scheme
The scheme this OFIRIHandler handles.
Definition OFIRIHandler.h:67
A class for representing IRIs, URIs, URLs and URNs, for parsing them as well as accessing parts of th...
Definition OFIRI.h:41
The root class for all other classes inside ObjFW.
Definition OFObject.h:956
instancetype init()
Initializes an already allocated object.
Definition OFObject.m:671
A base class for different types of streams.
Definition OFStream.h:280
A class for handling strings.
Definition OFString.h:143