NSFileManager class

Inheritance
Implemented types

Properties

attributeKeys NSArray
no setterinherited
autoContentAccessingProxy NSObject
no setterinherited
classCode int
no setterinherited
classDescription NSClassDescription
no setterinherited
classForArchiver NSObject?
no setterinherited
classForCoder NSObject
no setterinherited
classForKeyedArchiver NSObject?
no setterinherited
classForPortCoder NSObject
no setterinherited
className NSString?
no setterinherited
currentDirectoryPath NSString
no setter
delegate NSObject?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
homeDirectoryForCurrentUser NSURL
no setter
objectSpecifier NSScriptObjectSpecifier?
no setterinherited
observationInfo Pointer<Void>
getter/setter pairinherited
pointer Pointer<ObjCObject>
Return a pointer to this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scriptingProperties NSDictionary?
getter/setter pairinherited
temporaryDirectory NSURL
no setter
toManyRelationshipKeys NSArray
no setterinherited
toOneRelationshipKeys NSArray
no setterinherited
ubiquityIdentityToken NSObject?
no setter

Methods

addObserver_forKeyPath_options_context_(NSObject observer, NSString keyPath, int options, Pointer<Void> context) → void
inherited
allowsWeakReference() bool
inherited
attemptRecoveryFromError_optionIndex_(NSError error, int recoveryOptionIndex) bool
inherited
attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_(NSError error, int recoveryOptionIndex, NSObject? delegate, Pointer<ObjCSel> didRecoverSelector, Pointer<Void> contextInfo) → void
inherited
attributesOfFileSystemForPath_error_(NSString path, Pointer<Pointer<ObjCObject>> error) NSDictionary?
attributesOfItemAtPath_error_(NSString path, Pointer<Pointer<ObjCObject>> error) NSDictionary?
awakeAfterUsingCoder_(NSCoder coder) NSObject?
inherited
changeCurrentDirectoryPath_(NSString path) bool
changeFileAttributes_atPath_(NSDictionary attributes, NSString path) bool
coerceValue_forKey_(NSObject? value, NSString key) NSObject?
inherited
componentsToDisplayForPath_(NSString path) NSArray?
containerURLForSecurityApplicationGroupIdentifier_(NSString groupIdentifier) NSURL?
contentsAtPath_(NSString path) NSData?
contentsEqualAtPath_andPath_(NSString path1, NSString path2) bool
contentsOfDirectoryAtPath_error_(NSString path, Pointer<Pointer<ObjCObject>> error) NSArray?
contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_(NSURL url, NSArray? keys, int mask, Pointer<Pointer<ObjCObject>> error) NSArray?
copy() NSObject
inherited
copyItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, Pointer<Pointer<ObjCObject>> error) bool
copyItemAtURL_toURL_error_(NSURL srcURL, NSURL dstURL, Pointer<Pointer<ObjCObject>> error) bool
copyPath_toPath_handler_(NSString src, NSString dest, NSObject? handler) bool
copyScriptingValue_forKey_withProperties_(NSObject value, NSString key, NSDictionary properties) NSObject?
inherited
createDirectoryAtPath_attributes_(NSString path, NSDictionary attributes) bool
createDirectoryAtPath_withIntermediateDirectories_attributes_error_(NSString path, bool createIntermediates, NSDictionary? attributes, Pointer<Pointer<ObjCObject>> error) bool
createDirectoryAtURL_withIntermediateDirectories_attributes_error_(NSURL url, bool createIntermediates, NSDictionary? attributes, Pointer<Pointer<ObjCObject>> error) bool
createFileAtPath_contents_attributes_(NSString path, NSData? data, NSDictionary? attr) bool
createSymbolicLinkAtPath_pathContent_(NSString path, NSString otherpath) bool
createSymbolicLinkAtPath_withDestinationPath_error_(NSString path, NSString destPath, Pointer<Pointer<ObjCObject>> error) bool
createSymbolicLinkAtURL_withDestinationURL_error_(NSURL url, NSURL destURL, Pointer<Pointer<ObjCObject>> error) bool
dealloc() → void
inherited
destinationOfSymbolicLinkAtPath_error_(NSString path, Pointer<Pointer<ObjCObject>> error) NSString?
dictionaryWithValuesForKeys_(NSArray keys) NSDictionary
inherited
didChange_valuesAtIndexes_forKey_(int changeKind, NSIndexSet indexes, NSString key) → void
inherited
didChangeValueForKey_(NSString key) → void
inherited
didChangeValueForKey_withSetMutation_usingObjects_(NSString key, int mutationKind, NSSet objects) → void
inherited
directoryContentsAtPath_(NSString path) NSArray?
displayNameAtPath_(NSString path) NSString
doesContain_(NSObject object) bool
inherited
doesNotRecognizeSelector_(Pointer<ObjCSel> aSelector) → void
inherited
enumeratorAtPath_(NSString path) NSObject?
enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_(NSURL url, NSArray? keys, int mask, ObjCBlock_bool_NSURL_NSError? handler) NSObject?
evictUbiquitousItemAtURL_error_(NSURL url, Pointer<Pointer<ObjCObject>> error) bool
fileExistsAtPath_(NSString path) bool
fileExistsAtPath_isDirectory_(NSString path, Pointer<Bool> isDirectory) bool
fileManager_shouldProceedAfterError_(NSFileManager fm, NSDictionary errorInfo) bool
inherited
fileManager_willProcessPath_(NSFileManager fm, NSString path) → void
inherited
fileSystemAttributesAtPath_(NSString path) NSDictionary?
fileSystemRepresentationWithPath_(NSString path) Pointer<Char>
finalize() → void
inherited
forwardingTargetForSelector_(Pointer<ObjCSel> aSelector) NSObject
inherited
forwardInvocation_(NSInvocation anInvocation) → void
inherited
getFileProviderServicesForItemAtURL_completionHandler_(NSURL url, ObjCBlock_ffiVoid_NSDictionary_NSError completionHandler) → void
getRelationship_ofDirectory_inDomain_toItemAtURL_error_(Pointer<Int32> outRelationship, int directory, int domainMask, NSURL url, Pointer<Pointer<ObjCObject>> error) bool
getRelationship_ofDirectoryAtURL_toItemAtURL_error_(Pointer<Int32> outRelationship, NSURL directoryURL, NSURL otherURL, Pointer<Pointer<ObjCObject>> error) bool
handleQueryWithUnboundKey_(NSString key) NSObject?
inherited
handleTakeValue_forUnboundKey_(NSObject? value, NSString key) → void
inherited
homeDirectoryForUser_(NSString userName) NSURL?
indicesOfObjectsByEvaluatingObjectSpecifier_(NSScriptObjectSpecifier specifier) NSArray?
inherited
init() NSFileManager
override
insertValue_atIndex_inPropertyWithKey_(NSObject value, int index, NSString key) → void
inherited
insertValue_inPropertyWithKey_(NSObject value, NSString key) → void
inherited
inverseForRelationshipKey_(NSString relationshipKey) NSString?
inherited
isCaseInsensitiveLike_(NSString object) bool
inherited
isDeletableFileAtPath_(NSString path) bool
isEqualTo_(NSObject? object) bool
inherited
isExecutableFileAtPath_(NSString path) bool
isGreaterThan_(NSObject? object) bool
inherited
isGreaterThanOrEqualTo_(NSObject? object) bool
inherited
isLessThan_(NSObject? object) bool
inherited
isLessThanOrEqualTo_(NSObject? object) bool
inherited
isLike_(NSString object) bool
inherited
isNotEqualTo_(NSObject? object) bool
inherited
isReadableFileAtPath_(NSString path) bool
isUbiquitousItemAtURL_(NSURL url) bool
isWritableFileAtPath_(NSString path) bool
linkItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, Pointer<Pointer<ObjCObject>> error) bool
linkItemAtURL_toURL_error_(NSURL srcURL, NSURL dstURL, Pointer<Pointer<ObjCObject>> error) bool
linkPath_toPath_handler_(NSString src, NSString dest, NSObject? handler) bool
methodForSelector_(Pointer<ObjCSel> aSelector) Pointer<NativeFunction<Void Function()>>
inherited
methodSignatureForSelector_(Pointer<ObjCSel> aSelector) NSMethodSignature
inherited
mountedVolumeURLsIncludingResourceValuesForKeys_options_(NSArray? propertyKeys, int options) NSArray?
moveItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, Pointer<Pointer<ObjCObject>> error) bool
moveItemAtURL_toURL_error_(NSURL srcURL, NSURL dstURL, Pointer<Pointer<ObjCObject>> error) bool
movePath_toPath_handler_(NSString src, NSString dest, NSObject? handler) bool
mutableArrayValueForKey_(NSString key) NSMutableArray
inherited
mutableArrayValueForKeyPath_(NSString keyPath) NSMutableArray
inherited
mutableCopy() NSObject
inherited
mutableOrderedSetValueForKey_(NSString key) NSMutableOrderedSet
inherited
mutableOrderedSetValueForKeyPath_(NSString keyPath) NSMutableOrderedSet
inherited
mutableSetValueForKey_(NSString key) NSMutableSet
inherited
mutableSetValueForKeyPath_(NSString keyPath) NSMutableSet
inherited
newScriptingObjectOfClass_forValueForKey_withContentsValue_properties_(NSObject objectClass, NSString key, NSObject? contentsValue, NSDictionary properties) NSObject?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
observeValueForKeyPath_ofObject_change_context_(NSString? keyPath, NSObject? object, NSDictionary? change, Pointer<Void> context) → void
inherited
pathContentOfSymbolicLinkAtPath_(NSString path) NSString?
performSelector_onThread_withObject_waitUntilDone_(Pointer<ObjCSel> aSelector, NSThread thr, NSObject? arg, bool wait) → void
inherited
performSelector_onThread_withObject_waitUntilDone_modes_(Pointer<ObjCSel> aSelector, NSThread thr, NSObject? arg, bool wait, NSArray? array) → void
inherited
performSelector_withObject_afterDelay_(Pointer<ObjCSel> aSelector, NSObject? anArgument, double delay) → void
inherited
performSelector_withObject_afterDelay_inModes_(Pointer<ObjCSel> aSelector, NSObject? anArgument, double delay, NSArray modes) → void
inherited
performSelectorInBackground_withObject_(Pointer<ObjCSel> aSelector, NSObject? arg) → void
inherited
performSelectorOnMainThread_withObject_waitUntilDone_(Pointer<ObjCSel> aSelector, NSObject? arg, bool wait) → void
inherited
performSelectorOnMainThread_withObject_waitUntilDone_modes_(Pointer<ObjCSel> aSelector, NSObject? arg, bool wait, NSArray? array) → void
inherited
release() → void
Releases the reference to the underlying ObjC object held by this wrapper. Throws a StateError if this wrapper doesn't currently hold a reference.
inherited
removeFileAtPath_handler_(NSString path, NSObject? handler) bool
removeItemAtPath_error_(NSString path, Pointer<Pointer<ObjCObject>> error) bool
removeItemAtURL_error_(NSURL URL, Pointer<Pointer<ObjCObject>> error) bool
removeObserver_forKeyPath_(NSObject observer, NSString keyPath) → void
inherited
removeObserver_forKeyPath_context_(NSObject observer, NSString keyPath, Pointer<Void> context) → void
inherited
removeValueAtIndex_fromPropertyWithKey_(int index, NSString key) → void
inherited
replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_(NSURL originalItemURL, NSURL newItemURL, NSString? backupItemName, int options, Pointer<Pointer<ObjCObject>> resultingURL, Pointer<Pointer<ObjCObject>> error) bool
replacementObjectForArchiver_(NSArchiver archiver) NSObject?
inherited
replacementObjectForCoder_(NSCoder coder) NSObject?
inherited
replacementObjectForKeyedArchiver_(NSKeyedArchiver archiver) NSObject?
inherited
replacementObjectForPortCoder_(NSPortCoder coder) NSObject?
inherited
replaceValueAtIndex_inPropertyWithKey_withValue_(int index, NSString key, NSObject value) → void
inherited
retainWeakReference() bool
inherited
scriptingBeginsWith_(NSObject object) bool
inherited
scriptingContains_(NSObject object) bool
inherited
scriptingEndsWith_(NSObject object) bool
inherited
scriptingIsEqualTo_(NSObject object) bool
inherited
scriptingIsGreaterThan_(NSObject object) bool
inherited
scriptingIsGreaterThanOrEqualTo_(NSObject object) bool
inherited
scriptingIsLessThan_(NSObject object) bool
inherited
scriptingIsLessThanOrEqualTo_(NSObject object) bool
inherited
scriptingValueForSpecifier_(NSScriptObjectSpecifier objectSpecifier) NSObject?
inherited
setAttributes_ofItemAtPath_error_(NSDictionary attributes, NSString path, Pointer<Pointer<ObjCObject>> error) bool
setNilValueForKey_(NSString key) → void
inherited
setUbiquitous_itemAtURL_destinationURL_error_(bool flag, NSURL url, NSURL destinationURL, Pointer<Pointer<ObjCObject>> error) bool
setValue_forKey_(NSObject? value, NSString key) → void
inherited
setValue_forKeyPath_(NSObject? value, NSString keyPath) → void
inherited
setValue_forUndefinedKey_(NSObject? value, NSString key) → void
inherited
setValuesForKeysWithDictionary_(NSDictionary keyedValues) → void
inherited
startDownloadingUbiquitousItemAtURL_error_(NSURL url, Pointer<Pointer<ObjCObject>> error) bool
storedValueForKey_(NSString key) NSObject?
inherited
stringWithFileSystemRepresentation_length_(Pointer<Char> str, int len) NSString
subpathsAtPath_(NSString path) NSArray?
subpathsOfDirectoryAtPath_error_(NSString path, Pointer<Pointer<ObjCObject>> error) NSArray?
takeStoredValue_forKey_(NSObject? value, NSString key) → void
inherited
takeValue_forKey_(NSObject? value, NSString key) → void
inherited
takeValue_forKeyPath_(NSObject? value, NSString keyPath) → void
inherited
takeValuesFromDictionary_(NSDictionary properties) → void
inherited
toString() String
A string representation of this object.
inherited
trashItemAtURL_resultingItemURL_error_(NSURL url, Pointer<Pointer<ObjCObject>> outResultingURL, Pointer<Pointer<ObjCObject>> error) bool
unableToSetNilForKey_(NSString key) → void
inherited
unmountVolumeAtURL_options_completionHandler_(NSURL url, int mask, ObjCBlock_ffiVoid_NSError completionHandler) → void
URL_resourceDataDidBecomeAvailable_(NSURL sender, NSData newBytes) → void
inherited
URL_resourceDidFailLoadingWithReason_(NSURL sender, NSString reason) → void
inherited
URLForDirectory_inDomain_appropriateForURL_create_error_(int directory, int domain, NSURL? url, bool shouldCreate, Pointer<Pointer<ObjCObject>> error) NSURL?
URLForPublishingUbiquitousItemAtURL_expirationDate_error_(NSURL url, Pointer<Pointer<ObjCObject>> outDate, Pointer<Pointer<ObjCObject>> error) NSURL?
URLForUbiquityContainerIdentifier_(NSString? containerIdentifier) NSURL?
URLResourceDidCancelLoading_(NSURL sender) → void
inherited
URLResourceDidFinishLoading_(NSURL sender) → void
inherited
URLsForDirectory_inDomains_(int directory, int domainMask) NSArray
validateValue_forKey_error_(Pointer<Pointer<ObjCObject>> ioValue, NSString inKey, Pointer<Pointer<ObjCObject>> outError) bool
inherited
validateValue_forKeyPath_error_(Pointer<Pointer<ObjCObject>> ioValue, NSString inKeyPath, Pointer<Pointer<ObjCObject>> outError) bool
inherited
valueAtIndex_inPropertyWithKey_(int index, NSString key) NSObject?
inherited
valueForKey_(NSString key) NSObject?
inherited
valueForKeyPath_(NSString keyPath) NSObject?
inherited
valueForUndefinedKey_(NSString key) NSObject?
inherited
valuesForKeys_(NSArray keys) NSDictionary
inherited
valueWithName_inPropertyWithKey_(NSString name, NSString key) NSObject?
inherited
valueWithUniqueID_inPropertyWithKey_(NSObject uniqueID, NSString key) NSObject?
inherited
willChange_valuesAtIndexes_forKey_(int changeKind, NSIndexSet indexes, NSString key) → void
inherited
willChangeValueForKey_(NSString key) → void
inherited
willChangeValueForKey_withSetMutation_usingObjects_(NSString key, int mutationKind, NSSet objects) → void
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

alloc(ThermionDartTexture1 _lib) NSFileManager
override
allocWithZone_(ThermionDartTexture1 _lib, Pointer<_NSZone> zone) NSFileManager
override
automaticallyNotifiesObserversForKey_(ThermionDartTexture1 _lib, NSString key) bool
override
cancelPreviousPerformRequestsWithTarget_(ThermionDartTexture1 _lib, NSObject aTarget) → void
override
cancelPreviousPerformRequestsWithTarget_selector_object_(ThermionDartTexture1 _lib, NSObject aTarget, Pointer<ObjCSel> aSelector, NSObject? anArgument) → void
override
castFrom<T extends _ObjCWrapper>(T other) NSFileManager
Returns a NSFileManager that points to the same underlying object as other.
override
castFromPointer(ThermionDartTexture1 lib, Pointer<ObjCObject> other, {bool retain = false, bool release = false}) NSFileManager
Returns a NSFileManager that wraps the given raw object pointer.
override
classFallbacksForKeyedArchiver(ThermionDartTexture1 _lib) NSArray
override
classForKeyedUnarchiver(ThermionDartTexture1 _lib) NSObject
override
getAccessInstanceVariablesDirectly(ThermionDartTexture1 _lib) bool
override
getDefaultManager(ThermionDartTexture1 _lib) NSFileManager
isInstance(_ObjCWrapper obj) bool
Returns whether obj is an instance of NSFileManager.
override
keyPathsForValuesAffectingValueForKey_(ThermionDartTexture1 _lib, NSString key) NSSet
override
new1(ThermionDartTexture1 _lib) NSFileManager
override
setKeys_triggerChangeNotificationsForDependentKey_(ThermionDartTexture1 _lib, NSArray keys, NSString dependentKey) → void
override
useStoredAccessor(ThermionDartTexture1 _lib) bool
override