C# Class Smartmobili.Cocoa.NSFileWrapper

Inheritance: NSObject
Exibir arquivo Open project: smartmobili/CocoaBuilder Class Usage Examples

Public Properties

Property Type Description
Class Class

Protected Properties

Property Type Description
_fileAttributes NSMutableDictionary
_filename NSString
_iconImage id
_preferredFilename NSString
_wrapperData id
_wrapperType GSFileWrapperType

Public Methods

Method Description
AddFileWithPath ( NSString path ) : NSString
AddFileWrapper ( NSFileWrapper doc ) : NSString
AddRegularFileWithContents ( NSData data, NSString filename ) : NSString
AddSymbolicLinkWithDestination ( NSString path, NSString filename ) : NSString
Alloc ( ) : NSFileWrapper
Dealloc ( ) : void
EncodeWithCoder ( NSCoder aCoder ) : void
FileAttributes ( ) : NSDictionary
FileWrappers ( ) : NSDictionary
Filename ( ) : NSString
InitDirectoryWithFileWrappers ( NSDictionary docs ) : id
InitRegularFileWithContents ( NSData data ) : id
InitSymbolicLinkWithDestination ( NSString path ) : id
InitWithCoder ( NSCoder aDecoder ) : id
InitWithPath ( NSString path ) : id
InitWithSerializedRepresentation ( NSData data ) : id
InitWithURL ( NSURL url, NSFileWrapperReadingOptions options, NSError &outError ) : id
IsDirectory ( ) : bool
IsRegularFile ( ) : bool
IsSymbolicLink ( ) : bool
KeyForFileWrapper ( NSFileWrapper doc ) : NSString
NSFileWrapper ( ) : System
NeedsToBeUpdatedFromPath ( NSString path ) : bool
PreferredFilename ( ) : NSString
RegularFileContents ( ) : NSData
RemoveFileWrapper ( NSFileWrapper doc ) : void
SerializedRepresentation ( ) : NSData
SetFileAttributes ( NSDictionary attributes ) : void
SetFilename ( NSString filename ) : void
SetPreferredFilename ( NSString filename ) : void
SymbolicLinkDestination ( ) : NSString
UpdateFromPath ( NSString path ) : bool
WriteToFile ( NSString path, bool atomicFlag, bool updateFilenamesFlag ) : bool

Private Methods

Method Description
GSFileWrapperDirectoryTypeCheck ( ) : void

Method Details

AddFileWithPath() public method

public AddFileWithPath ( NSString path ) : NSString
path NSString
return NSString

AddFileWrapper() public method

public AddFileWrapper ( NSFileWrapper doc ) : NSString
doc NSFileWrapper
return NSString

AddRegularFileWithContents() public method

public AddRegularFileWithContents ( NSData data, NSString filename ) : NSString
data NSData
filename NSString
return NSString

AddSymbolicLinkWithDestination() public method

public AddSymbolicLinkWithDestination ( NSString path, NSString filename ) : NSString
path NSString
filename NSString
return NSString

Alloc() public static method

public static Alloc ( ) : NSFileWrapper
return NSFileWrapper

Dealloc() public method

public Dealloc ( ) : void
return void

EncodeWithCoder() public method

public EncodeWithCoder ( NSCoder aCoder ) : void
aCoder NSCoder
return void

FileAttributes() public method

public FileAttributes ( ) : NSDictionary
return NSDictionary

FileWrappers() public method

public FileWrappers ( ) : NSDictionary
return NSDictionary

Filename() public method

public Filename ( ) : NSString
return NSString

InitDirectoryWithFileWrappers() public method

public InitDirectoryWithFileWrappers ( NSDictionary docs ) : id
docs NSDictionary
return id

InitRegularFileWithContents() public method

public InitRegularFileWithContents ( NSData data ) : id
data NSData
return id

InitSymbolicLinkWithDestination() public method

public InitSymbolicLinkWithDestination ( NSString path ) : id
path NSString
return id

InitWithCoder() public method

public InitWithCoder ( NSCoder aDecoder ) : id
aDecoder NSCoder
return id

InitWithPath() public method

public InitWithPath ( NSString path ) : id
path NSString
return id

InitWithSerializedRepresentation() public method

public InitWithSerializedRepresentation ( NSData data ) : id
data NSData
return id

InitWithURL() public method

public InitWithURL ( NSURL url, NSFileWrapperReadingOptions options, NSError &outError ) : id
url NSURL
options NSFileWrapperReadingOptions
outError NSError
return id

IsDirectory() public method

public IsDirectory ( ) : bool
return bool

IsRegularFile() public method

public IsRegularFile ( ) : bool
return bool

IsSymbolicLink() public method

public IsSymbolicLink ( ) : bool
return bool

KeyForFileWrapper() public method

public KeyForFileWrapper ( NSFileWrapper doc ) : NSString
doc NSFileWrapper
return NSString

NSFileWrapper() public method

public NSFileWrapper ( ) : System
return System

NeedsToBeUpdatedFromPath() public method

public NeedsToBeUpdatedFromPath ( NSString path ) : bool
path NSString
return bool

PreferredFilename() public method

public PreferredFilename ( ) : NSString
return NSString

RegularFileContents() public method

public RegularFileContents ( ) : NSData
return NSData

RemoveFileWrapper() public method

public RemoveFileWrapper ( NSFileWrapper doc ) : void
doc NSFileWrapper
return void

SerializedRepresentation() public method

public SerializedRepresentation ( ) : NSData
return NSData

SetFileAttributes() public method

public SetFileAttributes ( NSDictionary attributes ) : void
attributes NSDictionary
return void

SetFilename() public method

public SetFilename ( NSString filename ) : void
filename NSString
return void

SetPreferredFilename() public method

public SetPreferredFilename ( NSString filename ) : void
filename NSString
return void

SymbolicLinkDestination() public method

public SymbolicLinkDestination ( ) : NSString
return NSString

UpdateFromPath() public method

public UpdateFromPath ( NSString path ) : bool
path NSString
return bool

WriteToFile() public method

public WriteToFile ( NSString path, bool atomicFlag, bool updateFilenamesFlag ) : bool
path NSString
atomicFlag bool
updateFilenamesFlag bool
return bool

Property Details

Class public_oe static_oe property

public static Class,Smartmobili.Cocoa Class
return Class

_fileAttributes protected_oe property

protected NSMutableDictionary,Smartmobili.Cocoa _fileAttributes
return NSMutableDictionary

_filename protected_oe property

protected NSString _filename
return NSString

_iconImage protected_oe property

protected id,Smartmobili.Cocoa _iconImage
return id

_preferredFilename protected_oe property

protected NSString _preferredFilename
return NSString

_wrapperData protected_oe property

protected id,Smartmobili.Cocoa _wrapperData
return id

_wrapperType protected_oe property

protected GSFileWrapperType _wrapperType
return GSFileWrapperType