C# Class Smartmobili.Cocoa.NSFileWrapper

Inheritance: NSObject
Afficher le fichier Open project: smartmobili/CocoaBuilder Class Usage Examples

Méthodes publiques

Свойство Type Description
Class Class

Protected Properties

Свойство Type Description
_fileAttributes NSMutableDictionary
_filename NSString
_iconImage id
_preferredFilename NSString
_wrapperData id
_wrapperType GSFileWrapperType

Méthodes publiques

Méthode 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

Méthode Description
GSFileWrapperDirectoryTypeCheck ( ) : void

Method Details

AddFileWithPath() public méthode

public AddFileWithPath ( NSString path ) : NSString
path NSString
Résultat NSString

AddFileWrapper() public méthode

public AddFileWrapper ( NSFileWrapper doc ) : NSString
doc NSFileWrapper
Résultat NSString

AddRegularFileWithContents() public méthode

public AddRegularFileWithContents ( NSData data, NSString filename ) : NSString
data NSData
filename NSString
Résultat NSString

AddSymbolicLinkWithDestination() public méthode

public AddSymbolicLinkWithDestination ( NSString path, NSString filename ) : NSString
path NSString
filename NSString
Résultat NSString

Alloc() public static méthode

public static Alloc ( ) : NSFileWrapper
Résultat NSFileWrapper

Dealloc() public méthode

public Dealloc ( ) : void
Résultat void

EncodeWithCoder() public méthode

public EncodeWithCoder ( NSCoder aCoder ) : void
aCoder NSCoder
Résultat void

FileAttributes() public méthode

public FileAttributes ( ) : NSDictionary
Résultat NSDictionary

FileWrappers() public méthode

public FileWrappers ( ) : NSDictionary
Résultat NSDictionary

Filename() public méthode

public Filename ( ) : NSString
Résultat NSString

InitDirectoryWithFileWrappers() public méthode

public InitDirectoryWithFileWrappers ( NSDictionary docs ) : id
docs NSDictionary
Résultat id

InitRegularFileWithContents() public méthode

public InitRegularFileWithContents ( NSData data ) : id
data NSData
Résultat id

InitSymbolicLinkWithDestination() public méthode

public InitSymbolicLinkWithDestination ( NSString path ) : id
path NSString
Résultat id

InitWithCoder() public méthode

public InitWithCoder ( NSCoder aDecoder ) : id
aDecoder NSCoder
Résultat id

InitWithPath() public méthode

public InitWithPath ( NSString path ) : id
path NSString
Résultat id

InitWithSerializedRepresentation() public méthode

public InitWithSerializedRepresentation ( NSData data ) : id
data NSData
Résultat id

InitWithURL() public méthode

public InitWithURL ( NSURL url, NSFileWrapperReadingOptions options, NSError &outError ) : id
url NSURL
options NSFileWrapperReadingOptions
outError NSError
Résultat id

IsDirectory() public méthode

public IsDirectory ( ) : bool
Résultat bool

IsRegularFile() public méthode

public IsRegularFile ( ) : bool
Résultat bool

IsSymbolicLink() public méthode

public IsSymbolicLink ( ) : bool
Résultat bool

KeyForFileWrapper() public méthode

public KeyForFileWrapper ( NSFileWrapper doc ) : NSString
doc NSFileWrapper
Résultat NSString

NSFileWrapper() public méthode

public NSFileWrapper ( ) : System
Résultat System

NeedsToBeUpdatedFromPath() public méthode

public NeedsToBeUpdatedFromPath ( NSString path ) : bool
path NSString
Résultat bool

PreferredFilename() public méthode

public PreferredFilename ( ) : NSString
Résultat NSString

RegularFileContents() public méthode

public RegularFileContents ( ) : NSData
Résultat NSData

RemoveFileWrapper() public méthode

public RemoveFileWrapper ( NSFileWrapper doc ) : void
doc NSFileWrapper
Résultat void

SerializedRepresentation() public méthode

public SerializedRepresentation ( ) : NSData
Résultat NSData

SetFileAttributes() public méthode

public SetFileAttributes ( NSDictionary attributes ) : void
attributes NSDictionary
Résultat void

SetFilename() public méthode

public SetFilename ( NSString filename ) : void
filename NSString
Résultat void

SetPreferredFilename() public méthode

public SetPreferredFilename ( NSString filename ) : void
filename NSString
Résultat void

SymbolicLinkDestination() public méthode

public SymbolicLinkDestination ( ) : NSString
Résultat NSString

UpdateFromPath() public méthode

public UpdateFromPath ( NSString path ) : bool
path NSString
Résultat bool

WriteToFile() public méthode

public WriteToFile ( NSString path, bool atomicFlag, bool updateFilenamesFlag ) : bool
path NSString
atomicFlag bool
updateFilenamesFlag bool
Résultat bool

Property Details

Class public_oe static_oe property

public static Class,Smartmobili.Cocoa Class
Résultat Class

_fileAttributes protected_oe property

protected NSMutableDictionary,Smartmobili.Cocoa _fileAttributes
Résultat NSMutableDictionary

_filename protected_oe property

protected NSString _filename
Résultat NSString

_iconImage protected_oe property

protected id,Smartmobili.Cocoa _iconImage
Résultat id

_preferredFilename protected_oe property

protected NSString _preferredFilename
Résultat NSString

_wrapperData protected_oe property

protected id,Smartmobili.Cocoa _wrapperData
Résultat id

_wrapperType protected_oe property

protected GSFileWrapperType _wrapperType
Résultat GSFileWrapperType