NMBFile Class Reference
Inherits from | NSObject |
Declared in | NMBFile.h |
Overview
NMBFile represents a file on cloud. You should never create an instance of it by yourself, they are always returned by instance of NMBServer. NimbusBase regards folder as file too. The difference is in the callback of retrieving a file, you get instance of NSData as response, but in callback of retrieving folder you get instance of NSArray, which contains its children.
Tasks
-
identifier
property -
name
property -
mime
property -
modifiedDate
property -
content
property -
extension
property -
isFolder
property -
urlOnDisk
property -
contentExists
property
Properties
content
The content of the file. If the file represents a folder, this property will be nil.
@property (nonatomic, readonly, copy) NSData *content
Declared In
NMBFile.h
contentExists
Indicates if content exist on disk.
@property (nonatomic, readonly) BOOL contentExists
Declared In
NMBFile.h
extension
The extension of the file.
@property (nonatomic, readonly, copy) NSString *extension
Declared In
NMBFile.h
identifier
The identifier of the file.
@property (nonatomic, readonly, copy) NSString *identifier
Declared In
NMBFile.h
isFolder
Indicates if the file represents a folder.
@property (nonatomic, readonly) BOOL isFolder
Declared In
NMBFile.h
mime
The mime of the file.
@property (nonatomic, readonly, copy) NSString *mime
Declared In
NMBFile.h
modifiedDate
The last modified date of the file.
@property (nonatomic, readonly, copy) NSDate *modifiedDate
Declared In
NMBFile.h
name
The name of the file.
@property (nonatomic, readonly, copy) NSString *name
Declared In
NMBFile.h
urlOnDisk
If the file has been retrieved, this property indicates the url of the content on disk.
@property (nonatomic, readonly, copy) NSURL *urlOnDisk
Declared In
NMBFile.h