[Previous] [Up] [Next]

NSFileManager

Authors

Richard Frith-Macdonald

Version: 0.1

Date: 28 February, 2000

NSFileManager

NSFileManager

Declared in: Foundation/NSFileManager.h

Inherits from: NSObject

Conforms to: NSObject



defaultManager

+ (NSFileManager*) defaultManager

changeCurrentDirectoryPath:

- (BOOL) changeCurrentDirectoryPath: (NSString*)path

changeFileAttributes:

- (BOOL) changeFileAttributes: (NSDictionary*)attributes

contentsAtPath:

- (NSData*) contentsAtPath: (NSString*)path

contentsEqualAtPath:andPath:

- (BOOL) contentsEqualAtPath: (NSString*)path1 andPath: (NSString*)path2

copyPath:toPath:handler:

- (BOOL) copyPath: (NSString*)source toPath: (NSString*)destination handler: handler

createDirectoryAtPath:attributes:

- (BOOL) createDirectoryAtPath: (NSString*)path attributes: (NSDictionary*)attributes

createFileAtPath:contents:attributes:

- (BOOL) createFileAtPath: (NSString*)path contents: (NSData*)contents attributes: (NSDictionary*)attributes

createSymbolicLinkAtPath:pathContent:

- (BOOL) createSymbolicLinkAtPath: (NSString*)path pathContent: (NSString*)otherPath

currentDirectoryPath

- (NSString*) currentDirectoryPath

directoryContentsAtPath:

- (NSArray*) directoryContentsAtPath: (NSString*)path

enumeratorAtPath:

- (NSDirectoryEnumerator*) enumeratorAtPath: (NSString*)path

fileAttributesAtPath:traverseLink:

- (NSDictionary*) fileAttributesAtPath: (NSString*)path traverseLink: (BOOL)flag

fileExistsAtPath:

- (BOOL) fileExistsAtPath: (NSString*)path

fileExistsAtPath:isDirectory:

- (BOOL) fileExistsAtPath: (NSString*)path isDirectory: (BOOL*)isDirectory

fileSystemAttributesAtPath:

- (NSDictionary*) fileSystemAttributesAtPath: (NSString*)path

fileSystemRepresentationWithPath:

- (const char*) fileSystemRepresentationWithPath: (NSString*)path

isDeletableFileAtPath:

- (BOOL) isDeletableFileAtPath: (NSString*)path

isExecutableFileAtPath:

- (BOOL) isExecutableFileAtPath: (NSString*)path

isReadableFileAtPath:

- (BOOL) isReadableFileAtPath: (NSString*)path

isWritableFileAtPath:

- (BOOL) isWritableFileAtPath: (NSString*)path

linkPath:toPath:handler:

- (BOOL) linkPath: (NSString*)source toPath: (NSString*)destination handler: handler

movePath:toPath:handler:

- (BOOL) movePath: (NSString*)source toPath: (NSString*)destination handler: handler

pathContentOfSymbolicLinkAtPath:

- (NSString*) pathContentOfSymbolicLinkAtPath: (NSString*)cStringPath

removeFileAtPath:handler:

- (BOOL) removeFileAtPath: (NSString*)path handler: handler

stringWithFileSystemRepresentation:

- (NSString*) stringWithFileSystemRepresentation: (const char*)string

subpathsAtPath:

- (NSArray*) subpathsAtPath: (NSString*)path

fileManager:shouldProceedAfterError:

- (BOOL) fileManager: (NSFileManager*)manager shouldProceedAfterError: (NSDictionary*)errorInfo

fileManager:willProcessPath:

- (BOOL) fileManager: (NSFileManager*)manager willProcessPath: (NSString*)path