Up

NSFileWrapper

Authors

Felipe A. Rodriguez (far@ix.netcom.com)
Jonathan Gapen (jagapen@whitewater.chem.wisc.edu)
Hold a file's contents in dynamic memory.

Copyright: (C) 1996 Free Software Foundation, Inc.

Software documentation for the NSFileWrapper class

NSFileWrapper : NSObject

Declared in:
AppKit/NSFileWrapper.h
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


Instance Variables

Method summary

addFileWithPath: 

- (NSString*) addFileWithPath: (NSString*)path;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


addFileWrapper: 

- (NSString*) addFileWrapper: (NSFileWrapper*)doc;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


addRegularFileWithContents: preferredFilename: 

- (NSString*) addRegularFileWithContents: (NSData*)data preferredFilename: (NSString*)filename;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


addSymbolicLinkWithDestination: preferredFilename: 

- (NSString*) addSymbolicLinkWithDestination: (NSString*)path preferredFilename: (NSString*)filename;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


fileAttributes 

- (NSDictionary*) fileAttributes;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


fileWrappers 

- (NSDictionary*) fileWrappers;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


filename 

- (NSString*) filename;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


icon 

- (NSImage*) icon;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


initDirectoryWithFileWrappers: 

- (id) initDirectoryWithFileWrappers: (NSDictionary*)docs;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


initRegularFileWithContents: 

- (id) initRegularFileWithContents: (NSData*)data;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


initSymbolicLinkWithDestination: 

- (id) initSymbolicLinkWithDestination: (NSString*)path;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


initWithPath: 

- (id) initWithPath: (NSString*)path;
Availability: Not in OpenStep/MacOS-X

Init an instance from the file, directory, or symbolic link at path.
This can create a tree of instances with a directory instance at the top


initWithSerializedRepresentation: 

- (id) initWithSerializedRepresentation: (NSData*)data;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


isDirectory 

- (BOOL) isDirectory;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


isRegularFile 

- (BOOL) isRegularFile;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


isSymbolicLink 

- (BOOL) isSymbolicLink;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


keyForFileWrapper: 

- (NSString*) keyForFileWrapper: (NSFileWrapper*)doc;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


needsToBeUpdatedFromPath: 

- (BOOL) needsToBeUpdatedFromPath: (NSString*)path;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


preferredFilename 

- (NSString*) preferredFilename;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


regularFileContents 

- (NSData*) regularFileContents;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


removeFileWrapper: 

- (void) removeFileWrapper: (NSFileWrapper*)doc;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


serializedRepresentation 

- (NSData*) serializedRepresentation;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


setFileAttributes: 

- (void) setFileAttributes: (NSDictionary*)attributes;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


setFilename: 

- (void) setFilename: (NSString*)filename;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


setIcon: 

- (void) setIcon: (NSImage*)icon;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


setPreferredFilename: 

- (void) setPreferredFilename: (NSString*)filename;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


symbolicLinkDestination 

- (NSString*) symbolicLinkDestination;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


updateFromPath: 

- (BOOL) updateFromPath: (NSString*)path;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


writeToFile: atomically: updateFilenames: 

- (BOOL) writeToFile: (NSString*)path atomically: (BOOL)atomicFlag updateFilenames: (BOOL)updateFilenamesFlag;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.




Instance Variables for NSFileWrapper Class

_fileAttributes

@protected NSMutableDictionary* _fileAttributes;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_filename

@protected NSString* _filename;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_iconImage

@protected NSImage* _iconImage;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_preferredFilename

@protected NSString* _preferredFilename;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_wrapperData

@protected id _wrapperData;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_wrapperType

@protected GSFileWrapperType _wrapperType;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.






Up