The methods of Foundation.NSFileWrapper are listed below. For a list of all members, see the NSFileWrapper Members list.
See Also: Inherited members from Foundation.NSObject
AddFileWrapper(NSFileWrapper)Adds a child NSFileWrapper to this. If this is not a directory file wrapper, throws an exception. | ||
AddRegularFile(NSData, string)Adds a child regular file to this with the specified dataContents. If this is not a directory file wrapper, throws an exception. | ||
EncodeTo(NSCoder)Encodes the state of the object on the provided encoder | ||
GetRegularFileContents()Retrieves the contents of this as NSData. If this is not a regular file wrapper, throws an exception. | ||
GetSerializedRepresentation()The contents of this as an opaque collection of data. | ||
KeyForFileWrapper(NSFileWrapper)The dictionary key used by this directory file wrapper to identify the specified child. Returns null if the child is not present. If this is not a directory file wrapper, throws an exception. | ||
MatchesContentsOfURL(NSUrl)Whether this is the same (based on file modification dates, not contents) as the specified url. | ||
Read(NSUrl, NSFileWrapperReadingOptions, out NSError)Recursively reads the the entire contents of this. Returns true if successful. | ||
RemoveFileWrapper(NSFileWrapper)Removes the specified child file wrapper. If this is not a directory file wrapper, throws an exception. | ||
Write(NSUrl, NSFileWrapperWritingOptions, NSUrl, out NSError)Recursively writes the entire contents of this to the specified URL. Returns true if successful. | ||