24 OF_ASSUME_NONNULL_BEGIN
26 @class OFArray OF_GENERIC(ObjectType);
46 @property (readonly, nonatomic)
OFString *scheme;
59 + (bool)registerClass: (Class)class_ forScheme: (
OFString *)scheme;
95 - (instancetype)init OF_UNAVAILABLE;
103 - (instancetype)initWithScheme: (
OFString *)scheme OF_DESIGNATED_INITIALIZER;
170 - (bool)fileExistsAtIRI: (
OFIRI *)IRI;
180 - (bool)directoryExistsAtIRI: (
OFIRI *)IRI;
190 - (void)createDirectoryAtIRI: (
OFIRI *)IRI;
217 - (void)removeItemAtIRI: (
OFIRI *)IRI;
235 - (void)linkItemAtIRI: (
OFIRI *)source toIRI: (
OFIRI *)destination;
254 - (void)createSymbolicLinkAtIRI: (
OFIRI *)IRI
255 withDestinationPath: (
OFString *)target;
277 - (bool)copyItemAtIRI: (
OFIRI *)source toIRI: (
OFIRI *)destination;
298 - (bool)moveItemAtIRI: (
OFIRI *)source toIRI: (
OFIRI *)destination;
321 ofItemAtIRI: (
OFIRI *)IRI
322 OF_DEPRECATED(ObjFW, 1, 1,
323 "Use -[getExtendedAttributeData:andType:forName:ofItemAtIRI:] instead");
346 - (void)getExtendedAttributeData: (
OFData *_Nonnull *_Nonnull)data
347 andType: (
id _Nullable *_Nullable)type
349 ofItemAtIRI: (
OFIRI *)IRI;
370 - (void)setExtendedAttributeData: (
OFData *)data
372 ofItemAtIRI: (
OFIRI *)IRI
373 OF_DEPRECATED(ObjFW, 1, 1,
374 "Use -[setExtendedAttributeData:andType:forName:ofItemAtIRI:] instead");
398 - (void)setExtendedAttributeData: (
OFData *)data
399 andType: (nullable
id)type
401 ofItemAtIRI: (
OFIRI *)IRI;
418 - (void)removeExtendedAttributeForName: (
OFString *)name
419 ofItemAtIRI: (
OFIRI *)IRI;
422 OF_ASSUME_NONNULL_END
An abstract class for storing objects in an array.
Definition: OFArray.h:107
A class for storing, accessing and comparing dates.
Definition: OFDate.h:33
The root class for all other classes inside ObjFW.
Definition: OFObject.h:690
A handler for an IRI scheme.
Definition: OFIRIHandler.h:37
A base class for different types of streams.
Definition: OFStream.h:278
A class for handling strings.
Definition: OFString.h:142
An abstract class for storing objects in a dictionary.
Definition: OFDictionary.h:82
A class for representing IRIs, URIs, URLs and URNs, for parsing them as well as accessing parts of th...
Definition: OFIRI.h:39
A class for storing arbitrary data in an array.
Definition: OFData.h:45